@grishka @dansup What I proposed does use centralized notification service (although changing it to UnifiedPush would be preferable, and it's even worse there wrt encryption afaik) and does not drain battery.
Why do you think it's more reliable? I think the only downside is that the app needs to do another request, process all the state, and only then can it show a notification, which, as I said, adds latency.
Lyyn ☮️🦄 #2024-02-16, if your network connection is unstable, e.g. due to a weak signal or being on a subway train, there might not be a chance to do that request. You have to always assume that any network request can fail, and given enough users, it will fail, every day, thousands of times. So if you can avoid making an additional request, do avoid it.