5 ms·
Slightly off topic: how does GCM work without an internet connection? Why does it need to send info a server and have the server send info back to the phone? Wh
by 0xdeadb00f 7y ago
Slightly off topic: how does GCM work without an internet connection?
Why does it need to send info a server and have the server send info back to the phone? Why can't it do that work without network access?
If I have my phone on airplane mode and an app that uses GCM needs to send a notification, how does it get to my phone?
- kop316 7y agoMy understanding is that the GCM is for notifications that come in from off the phone (i.e. from a server). Rather than have every program have a background service (and if they are badly made, have it drain the battery) to check notifications, they can all tie into one background service that can be optimized for it. I would imagine that notifications that are local don't need to go through GCM.