Earlier quoted context omitted.
Pardon for a tangent! I've been so full of missing and delayed notifications I just bought an iPhone, which has zero issues with it, with zero configuration. Still, as I made a few really small android apps in the past, this has been a sticking point for me for years. Is it possible to write an app that can notify at ANY time? Let's say I want to monitor my self-hosted infrastructure. On an iPhone I get e-mail alerts…
Ntfy.sh seems to work perfectly on stock Android without firebase/GSF. I do have "unrestricted" enabled in app settings but it doesn't seem to impact battery life in a noticeable way. I never missed any notifications. Once you leave AOSP-land it can be more tricky, https://dontkillmyapp.com/ has more info if you're interested.
This actually looks very relevant [1]:
> Even disabling the system battery restrictions does not save the app from being killed. Let's find out, if it is a bug or a feature... Here you can read more details
I have Samsung s21; after years of fighting it (3 samsungs) I'm welcome to a bug explanation
- [1] https://dontkillmyapp.com/samsung#:~:text=Even%20disabling%2...