Why do push notifications work the way they do
Why do push notifications work the way they do
So I always here about on how Google Android and IOS those companies can see all your notifications. This is because to show a notification it calls an API.
Is there any technical reason that it has to send your notification data to Google and Apple or is it just to get more data on you?
At least on Android you have two options: you use Google's notification API which lets your app sleep until the system wakes it back up on receiving a notification. Or you skip all that, then your app has to run in the background or you won't get notifications. You can guess what this does to your battery.
Centralized vs decentralized. I'm willing to sacrifice privacy for battery in this case, honestly.
Decided to go the let app run in the background on graphene. With 3 apps in the background running all the time. Battery last 12 hours, with heavy use less. I'm unaware of how to get or self host push notifications outside of Google. It's not death to your battery but it defintely shaves off 20 percent and that's a rough number.
I've been using a pixel for 2 years with 600 plus cycles and my battery health is still 100 percent excellent, I did a hardware health check today.
Great. Now do 40 apps and try not to get them killed by the OOM mechanism. I'm not saying I like the fact that messages go through Google's servers, but I'm afraid there is no equivalent FOSS solution.
Ntfy exists. I use it for 3-4 apps.
How do you get it to do discord and other random apps?