Although I like seeing things attempt to compete with Google, this can't come close because of the restrictions of Android enacted by Google.
Although I like seeing things attempt to compete with Google, this can't come close because of the restrictions of Android enacted by Google.
I have recently started work to make ntfy a UnifiedPush distributor [2].
Side note:
- you _can_ actually dismiss the foreground service notification, see [3] for a screenshot
- the battery impact is not as severe as I had thought initially. On my phone, it's about 4% battery over 17h "use" [4]. I'm planning on making "slow delivery" possible to counter this bahavior, see this ticket [5]
[2] https://github.com/binwiederhier/ntfy/issues/9
[3] https://ntfy.sh/docs/subscribe/phone/#instant-delivery
[4] https://ntfy.sh/docs/faq/#how-much-battery-does-the-android-...
I noticed UnifiedPush and your efforts there and I am curious. My summary after a brief glance is UnifiedPush will not achieve anything useful, for the same reasons: iOS and Android push notifications are locked down. For example, sure, Android is OSS, but most of the functionality is provided by proprietary apps or Google Play Services. This results is challenges today, but further challenges down the road (App Store rules/policies change, stronger enforcement).
About the battery usage, this is always a hard question to answer. 4% is very low, which seems good. But how could you measure that effectively? Perhaps if the connection is good, it might take 4% battery over 17h of "use". But could this be worse if network is intermittent (i.e. realistic conditions)? Or lots of data being used (or *abused*).
One battery saving idea: there is a ticket to let the user control the interval at which the topic is polled. Right now it's obviously a persistent connection. But likely polling every 5min may consume less battery.
Additionally, supporting UnifiedPush (code and adoption by app devs) is supporting:
1. Non-google app stores (e.g. F-Droid with it's great selection of FOSS apps)
2. Google-free distributions of Android
3. Linux phones
The above amount to a small but non-trivial community, but imho supporting (or participating in) them ethically is something I like.