4👍
✅
There are four ways to handle this:
-
Write your own custom native app for the phone. Your native iPhone app can receive push notifications from your Django app via the push notification API. You native Android app can receive notifications from your Django app via the cloud-to-device messaging (C2DM) framework.
-
Write your own web app (HTML + JavaScript) for the phone, using a wrapper app that handles push notifications/C2DM. Adobe PhoneGap is one such wrapper app; there are probably others.
-
Send a message via an existing service, such as Twitter or Email, for which the user already has an app.
-
Use a service like Pushover, which has their own native app that is intended for notifications from web applications such as yours.
Source:stackexchange.com