this post was submitted on 27 Jul 2023
6 points (100.0% liked)

DeGoogle Yourself

8743 readers
16 users here now

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!

Rules

  1. Be respectful even in disagreement

  2. No advertising unless it is very relevent and justified. Do not do this excessively.

  3. No low value posts / memes. We or you need to learn, or discuss something.

Related communities

!privacyguides@lemmy.one !privacy@lemmy.ml !privatelife@lemmy.ml !linuxphones@lemmy.ml !fossdroid@social.fossware.space !fdroid@lemmy.ml

founded 4 years ago
MODERATORS
 

I have a us Samsung phone so I an unable to root and replace GMS with micro g. Would it he possible to patch apps (with lspatch for example) to use another app for push notifications? Firebase notifications are the only reason I have GMS at all still.

top 9 comments
sorted by: hot top controversial new old
[–] shortwavesurfer@monero.town 3 points 1 year ago (1 children)

Some few apps like element and tusky allow for the use of UnifiedPush through clients like ntfy. All other apps either create websockets of their own (signal) use pull notifications (redreader while i still used reddit) or get no notifications at all.

[–] lividhen@kbin.social 1 points 1 year ago (1 children)

I will have to look at how that works. Maybe I can run a server on a computer to push to ntfy.

[–] shortwavesurfer@monero.town 2 points 1 year ago (1 children)

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.

[–] lividhen@kbin.social 0 points 1 year ago (1 children)

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.

[–] shortwavesurfer@monero.town 0 points 1 year ago (1 children)

Ah. I see what you are thinking. I don't think that would work as most apps don't register with UnifiedPush.

[–] lividhen@kbin.social 2 points 1 year ago

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.

[–] Engywuck@lemmy.ml 2 points 1 year ago (1 children)

Wouldn't you need root for lsposed anyway?

[–] lividhen@kbin.social 3 points 1 year ago (1 children)
[–] Engywuck@lemmy.ml 2 points 1 year ago

NP, man. Never heard of it. Now I have something else to waste my time on! 🙃