6
Alternate push notifications on unrooted device?
(kbin.social)
A community for those that would like to get away from Google.
Here you may post anything related to DeGoogling, why we should do it or good software alternatives!
Be respectful even in disagreement
No advertising unless it is very relevent and justified. Do not do this excessively.
No low value posts / memes. We or you need to learn, or discuss something.
!privacyguides@lemmy.one !privacy@lemmy.ml !privatelife@lemmy.ml !linuxphones@lemmy.ml !fossdroid@social.fossware.space !fdroid@lemmy.ml
I will have to look at how that works. Maybe I can run a server on a computer to push to ntfy.
It has a default push server setup that you can use if you wish. You could absolutely run your own server too. Ntfy has to be excluded from battery optimization to allow it to keep a websockets connection open. That is part of what makes degoogled phones drain so fast is lack of firebase notifications causing every app to maintain their own connection. Firebase covers hundreds of apps with a single connection rather than hundreds of individual connections.
No idea if this would he possible but my starting idea here is using a server of some sort to grab the firebase notifications and push them all over one webocket similar to GMS. What I don't know is how registering apps works. I know from micro g they register themselves to receive notifications but I'm not sure of what data is actually given to micro g or the relationship between the app and micro g/the web socket.
Ah. I see what you are thinking. I don't think that would work as most apps don't register with UnifiedPush.
I wonder if we could use lspatch (or similar) to hook in and change that. I might have a project ahead of me. We'll see.