Support UnifiedPush for android notifications
protonmail.uservoice.com
external-link
I don't have google services on my phone and having every app permanently connected checking for new messages is detrimental to battery life. UnifiedPush is the open alternative to Google Cloud Messaging: https://unifiedpush.org
@filcuk@lemmy.zip
link
fedilink
English
26M

It used to be less of a decision and more push or no push.

sunzu
link
fedilink
36M

Other apps didn’t rely on google for notifications

I am not following how proton is different

@dracs@programming.dev
link
fedilink
English
36M

Which apps are you referring to? Google and Apple’s services have long been the default choice for notifications on mobile devices. Other options get killed off by battery optimization processes without special setup.

sunzu
link
fedilink
16M

Signal

Signal has their own implementation of notifications, which uses WebSockets. It works, and it doesn’t rely on Google, but it eats up battery like crazy. If every app did this, you would have a battery life of an hour. That’s why UnifiedPush is a better solution.

sunzu
link
fedilink
16M

Thank you for the info.

Yeah my phone battery is destroyed by signal and browser usage pretty much lol

Andromxda 🇺🇦🇵🇸🇹🇼
creator
link
fedilink
English
2
edit-2
6M

Try Molly, it’s a fork of the Signal client for Android, which improves battery life (even with WebSockets) or alternatively allows you to use UnifiedPush. Signal doesn’t support UP natively, but Molly has created a bridge called mollysocket, which takes Signal notifications and forwards them to your UnifiedPush server of choice. You can self-host it, or just use a public instance like https://adminforge.de/services/mollysocket/. They also host an instance of ntfy (UnifiedPush server) at ntfy.adminforge.de. If you have questions on how to set this up, feel free to DM me. But it’s pretty easy and you don’t need to self-host anything. And it’s perfectly secure, because although the mollysocket server is added as a linked device in Signal, it doesn’t get the encryption keys to your messages. So it can’t decrypt your messages or see the content of your notifications.

sunzu
link
fedilink
16M

can i just replace Signal with it or are there limitations?

Andromxda 🇺🇦🇵🇸🇹🇼
creator
link
fedilink
English
3
edit-2
6M

Yes, there are no limitations. I’ve been using it since January and it’s been fantastic. Just keep in mind that there are multiple versions of Molly, and UnifiedPush support is not included in the main version. You either need to pull the APK from the mollyim-android-unifiedpush repo, or add the Molly F-Droid repo and download the UnifiedPush version from there. For the UnifiedPush client, you just need to download ntfy from F-Droid, GitHub or Google Play, go to the settings, set the server to https://ntfy.adminforge.de, and set the Connection protocol to WebSockets. In the Molly-UnifiedPush app, go to Settings -> Notifications, set the server to https://molly.adminforge.de and set the Delivery Method to UnifiedPush. I know that my explanation wasn’t particularly great, but it should work. Will soon post a better guide to !unifiedpush@lemmy.dbzer0.com

Create a post

Empowering you to choose a better internet where privacy is the default. Protect yourself online with Proton Mail, Proton VPN, Proton Calendar, Proton Drive. Proton Pass and SimpleLogin.

Proton Mail is the world’s largest secure email provider. Swiss, end-to-end encrypted, private, and free.

Proton VPN is the world’s only open-source, publicly audited, unlimited and free VPN. Swiss-based, no-ads, and no-logs.

Proton Calendar is the world’s first end-to-end encrypted calendar that allows you to keep your life private.

Proton Drive is a free end-to-end encrypted cloud storage that allows you to securely backup and share your files. It’s open source, publicly audited, and Swiss-based.

Proton Pass Proton Pass is a free and open-source password manager which brings a higher level of security with rigorous end-to-end encryption of all data (including usernames, URLs, notes, and more) and email alias support.

SimpleLogin lets you send and receive emails anonymously via easily-generated unique email aliases.

  • 1 user online
  • 2 users / day
  • 9 users / week
  • 65 users / month
  • 553 users / 6 months
  • 1 subscriber
  • 392 Posts
  • 3.56K Comments
  • Modlog