ProtonMail / WebClients

Monorepo hosting the proton web clients
GNU General Public License v3.0
4.21k stars 535 forks source link

Ditch google notifications #359

Open ghost opened 7 months ago

ghost commented 7 months ago

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 ?

o0nd7ots commented 6 months ago

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

RokeJulianLockhart commented 4 months ago

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.