2 ms·
IMAP idle doesn't really work on mobile devices anymore, because no recent version of Android or iOS allows apps to keep the radio alive with persistent TCP con
by londons_explore 8y ago
IMAP idle doesn't really work on mobile devices anymore, because no recent version of Android or iOS allows apps to keep the radio alive with persistent TCP connections - you need something that supports APNS and GCM, converting every notification into an HTTP Post request to Apple or Google or another notification provider.
So far, there seems to be no standard extension to IMAP to integrate with those, so you need some app which has a server side component to do it. (Which is exactly what Gmail, Outlook, Whatsapp, Facebook Messenger, etc. all do).
- bubblethink 8y agok-9 works fine for me without gcm. So at least on latest aosp, it appears that imap idle is all that it needs. Also, signal, whatsapp and telegram work without gcm as well. Edit: I don't remember if I had to whitelist k-9 under battery optimisations. Maybe that's a requirement to use notifications without gcm, as it's a common theme in all apps that support notifications without gcm. On Apple devices, you will be generally out of luck, but that's a foregone conclusion.