Following issue #566, I am wondering if microG creates a local redirection to intercept traffic intended to mtalk.google.com or is it connecting to that domain ? If so, why ?
Because GCM depends on Google servers? If you don’t know how GCM works, no problem, I’ll explain it. ;)
@ArchangeGabriel Indeed I don't know how GCM works… I don't mean to waste your time but if you want you can explain me !
OK, so basically the idea is the following: your system makes one connection to Google servers, specifying some kind of AndroidID to be recognized.
On the other side, every apps that use GCM has a server part somewhere, that also makes a connection to the Google servers, specifying an app identifier. Then, when one event is to be sent to you, it is send to the Google servers with your AndroidID, allowing the server to thus relay it to you.
The idea behind that is to have only one open connection on your phone, instead of one per app, allowing for much greater battery life. The cost is privacy, because that means all messages are going through Google servers. App can work a bit around this by having either encrypted messages content or minimal amount of information inside. But at the very least Google will have the following information: you have received a message from this app at this given time.
Thank you very much for that explanation. At least GCM does't require a G-account to work !
We can hope to see changes with Firebase Cloud Messaging.
No, FCM builds upon GCM, it works the same way w.r.t. my above explanation. As far as proprietary apps are concerned, there is little hope to change anything here, but for FLOSS software maybe a self-hosted replacement could be done.
Most helpful comment
OK, so basically the idea is the following: your system makes one connection to Google servers, specifying some kind of AndroidID to be recognized.
On the other side, every apps that use GCM has a server part somewhere, that also makes a connection to the Google servers, specifying an app identifier. Then, when one event is to be sent to you, it is send to the Google servers with your AndroidID, allowing the server to thus relay it to you.
The idea behind that is to have only one open connection on your phone, instead of one per app, allowing for much greater battery life. The cost is privacy, because that means all messages are going through Google servers. App can work a bit around this by having either encrypted messages content or minimal amount of information inside. But at the very least Google will have the following information: you have received a message from this app at this given time.