Edit: I've noticed that StackExchange has prefaced this question with Android but it applies for both iOS and Android.
We have a client side iOS/Android application that we expect to run (in remote Australia) with very limited internet connectivity. However, the application can expect to have very good connectivity to its local network, which is not on the net.
I've been looking into ways of waking a phone up with a notification of some sort whenever an event happens on the local server.
From what I've researched:
- Web push is no good as even the newer VAPID based protocol still wants to route some data through the browser vendor's notifications server.
- iOS Apple Notifications essentially have the same requirements as Web Push.
- A background task which periodically polls the server/wakes up a Websockets connection can work, but could end up with pretty long delays between polls.
- SMS is an option, as although 3G is limited, basic phone connectivity is sometimes available.
Are there any other ways of being able to wake up a locked mobile device with a server-sent event that I haven't listed? Given the operational situation having App Store compliance is not necessarily a requirement.
Cheers