Re:UnifiedPush: A decentralized, open-source push notificati...
by mixtur2021 on Thursday December 22, 2022 @01:16PM
(#34096519)
AFAIK Modern Android (>= 8.0) reserves the right to kill your app when running in the background unless there's a foreground toast bound (even then, can still be killed in low memory situations). How does this solution work around that? Is there a need to opt into the legacy "battery saver disabled" mode for the app which more closely mirrors <= 7.0 execution model?
[ Parent
| on HN ]
Re:UnifiedPush: A decentralized, open-source push notificati...
by karmanyaahm on Thursday December 22, 2022 @01:22PM
(#34096592)
Most distributors both show a foreground notification at all times and require exempting them from battery optimization. Because of its efficient design, something like ntfy only uses a few percent of battery per day [1].
System-level integration into Android ROMs would help eliminate the need for those things.
[1] https://docs.ntfy.sh/faq/?h=battery#how-much-battery-does-th...
Re:UnifiedPush: A decentralized, open-source push notificati...
by mixtur2021 on Thursday December 22, 2022 @03:01PM
(#34097875)
Thanks! As I thought. Long lived sticky foreground notifications tend to annoy folks from my experience. Have you seen complaints?
Re:UnifiedPush: A decentralized, open-source push notificati...
by MayeulC on Thursday December 22, 2022 @03:26PM
(#34098189)
I haven't seen any complaints, but folks who set this up are usually used to having persistent notifications (I currently have 6) without Google services.
At least I replaced the one from my Matrix client with the UnifiedPush-enabled ntfy. Hopefully it'll replace Signal too at some point. KDE Connect? Why not. K-9 mail? I hope, but that would require JMAP or IMAP adjustments.
One option would be to install the distributor as a system app.
Re:UnifiedPush: A decentralized, open-source push notificati...
by binwiederhier on Thursday December 22, 2022 @05:04PM
(#34099455)
You can easily remove them. There are instructions here: https://docs.ntfy.sh/subscribe/phone/#instant-delivery