WebClients icon indicating copy to clipboard operation
WebClients copied to clipboard

Ditch google notifications

Open ghost opened this issue 1 year ago • 3 comments

Hi,

It seems weird that PM still relies on GCM/FCM for notifications.

Even with PM APK downloaded from the website, and having whitelisted PM in DNSfilter (personalDNSfilter | F-Droid - Free and Open Source Android App Repository 3), I can’t receive PM notifications if I do not open the app, because I blocked GCM/FCM adresses (mtalk.google.com 5, alt1-mtalk.google.com,…) with DNSfilter.

While we trust PM for keeping the minimum metadata, how can we know what Google keeps if PM needs to transmit data to their servers for each notification/message?

Furthermore, curcumventing GCM/FCM has been solved by other android app team, like Tutanota (the blog post also cites Mastodon):

Link to post in blog

Is there a plan to drop GCM/FCM (which as Tutanota highlights “includes Google’s tracking code for analytics purposes”) for SSE (Server Sent Events API) or another alternative ?

ghost avatar Nov 27 '23 23:11 ghost

Also requiring Google Play Services for actual notifications makes the app less usable on a degoogled Android rom.

o0nd7ots avatar Jan 03 '24 20:01 o0nd7ots

https://github.com/ProtonMail/WebClients/issues/359#issue-2013279791

@o0nd7ots, I agree. https://ntfy.sh/ is what we should replace it with. It's the FOSS standard, at least on F-Droid. See https://protonmail.uservoice.com/forums/945460-general-ideas/suggestions/19635550-remove-dependance-on-google-play-services.

RokeJulianLockhart avatar Feb 06 '24 01:02 RokeJulianLockhart

UnifiedPush works on de-googled devices and can even fallback to Google/FCM on other devices. And it seems the ntfy server mentioned above can also be self-hosted. For more info, see: https://unifiedpush.org/ https://f-droid.org/2022/12/18/unifiedpush.html

Another option is to look at how FairEmail does it. I don't think it uses UnifiedPush, but it works great on a phone with google services disabled. I think it just keeps running a foreground service?

geekley avatar Jul 17 '24 20:07 geekley