| ▲ | satvikpendem 3 hours ago | |||||||
Sorry I should clarify, by "it" I meant any sort of ping must go through Firebase Cloud Messaging, not that the message content itself goes through Firebase. Looks like there is a way to bypass Firebase by using something like UnifiedPush which runs a perpetual background process that acts similar to Google Play Services to pick up notifications from the server and calls the local notification API. | ||||||||
| ▲ | Zak 2 hours ago | parent [-] | |||||||
It's theoretically possible to just keep an app running in the background all the time and periodically poll a server. That's unreliable though since some OEM Android builds will kill it for that even if the user disables battery optimizations. Those OEMs sort of have a point; if lots of apps did that it would drain the battery fast. | ||||||||
| ||||||||