18
submitted 2 months ago by galileopie@lemmy.ml to c/privacy@lemmy.ml

I download the apk file from Whatsapp website to install in GrapheneOS, and I've noticed that notifications for messages are very delayed from 15 minutes to no notifications at all until I turn on phone screen and then all of the messages come through. Is there other Whatsapp users with similar issues with functionality?

Signal functions good but there have been times of small delays with messages coming through to get a notification.

all 22 comments
sorted by: hot top controversial new old
[-] Nobilmantis@feddit.it 16 points 2 months ago* (last edited 2 months ago)

A lot of android apps rely on GCM (google's notification servers), I assume Whatsapp is one. Signal does too, but I think it can use its own websockets when gcm is not available, same for telegram. Whatsapp probably not.

Some ROMs with no google services restore the gcm funciinality via microg. Graphene os, as far as i know, does not have microg.

[-] Samsy@lemmy.ml 9 points 2 months ago* (last edited 2 months ago)

Hmm not exactly. WhatsApp is closed source, we don't know exactly how it works, but since it is based on XMPP, chances are high it uses xmpps own push service. Either there would be a notification about missing GCM or firebase.

Btw. Websockets on signal and telegram needs the apps running in background which eats up the battery. That's why a lot of degoogled-users install unifiedpush via ntfy-app. Some third party alternatives support unifiedpush, signal = molly + unifiedpush and telegram = mercurygram or nagram.

[-] TheHobbyist@lemmy.zip 11 points 2 months ago

Have you installed google services on your phone? they are available through the grapheneOS official "App Store" app. This should be installed before whatsapp is installed (at least that is the instruction for general apps depending on google services).

Perhaps you have done so already, but just a general advice: when using google services and invasive apps like WhatsApp, it can be a good idea to install in their dedicated profile and allow the notifications to pipe through to your main profile instead of installing both in your main profile. If you need help configuring it, let me know.

[-] galileopie@lemmy.ml 4 points 2 months ago

I know Services is available in a sandbox, I didn't think of that, presumably because I view it either with disdan or treat is not an option. There's also MicroG which I've never been interested in trying.

[-] scott@lem.free.as 4 points 2 months ago

That's the problem. WhatsApp will use GCM for push notifications. No GSF, no GCM.

[-] countrypunk@slrpnk.net 5 points 2 months ago

I have WhatsApp from Aurora store on grapheneOS and occasionally get what you're describing, but it's not constant.

[-] galileopie@lemmy.ml 1 points 2 months ago

I did wonder if Aurora version might function better. I downloaded the standalone apk file in hopes that there would be a removal from such heavy dependancies compared to the Play Store version.

[-] MalReynolds@slrpnk.net 5 points 2 months ago

Check here Personally wouldn't piss on it if it was on fire, but needs must when the devil drives.

[-] galileopie@lemmy.ml 0 points 2 months ago

For talking with people outside of North America where people still pay to send a text message, getting rid of Whatsapp means cutting off all communication.

[-] MalReynolds@slrpnk.net 0 points 2 months ago
[-] galileopie@lemmy.ml 1 points 2 months ago

Thank you for the link, I was not understanding you correctly

[-] kbal@fedia.io 1 points 2 months ago

I had that problem when I used whatsapp five years ago. Amazing that they still haven't fixed it.

[-] GolfNovemberUniform@lemmy.ml 1 points 2 months ago

WhatsApp uses Google push notification service which is not available on GrapheneOS. Try to disable all battery restrictions for the app so it can check for notifications by itself but idk if it'll work still.

[-] RaoulDook@lemmy.world 5 points 2 months ago

Google push notifications are available on GrapheneOS - just have to install Google Play Services. Their sandboxed version of google's junk is nice because you can fully restrict permissions to it unlike stock Android.

[-] GolfNovemberUniform@lemmy.ml 2 points 2 months ago

The problem is that restricting permissions won't change anything in that case. Google push notifications are not encrypted and can be read. If you use them, Google can read them.

[-] RaoulDook@lemmy.world 5 points 2 months ago

Not if the app is coded properly to not include message content in the push notification. Signal uses google notifications only as a wakeup event to poll the (not google) server for the new message.

https://github.com/signalapp/Signal-iOS/issues/5720

[-] GolfNovemberUniform@lemmy.ml 6 points 2 months ago

The apps that are coded properly usually have a fallback option and don't require the Google's implementation in the first place.

this post was submitted on 17 Oct 2024
18 points (90.9% liked)

Privacy

32585 readers
407 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS