phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

Google independent notification messaging (do not rely on FCM)

Open anton-isidore opened this issue 1 year ago • 7 comments

With implementation of the BOLT12 it became very important to be online to receive payments.

On GrapheneOS we got this notification warning us: image

Instead of relying on Google servers it would be great to have own way of delivering notification in case Google Play Services are not present on the phone.

Market standard seems to be running a foreground service. This is what Signal, Telegram, Element, ... and many other apps are doing.

There is also UnifiedPush but I am not sure if it is usable in this context (there is already issue for it here: https://github.com/ACINQ/phoenix/issues/554)

Sources:

  • https://github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/Notifications.md
  • https://developer.android.com/develop/background-work/services/foreground-services

anton-isidore avatar Jul 05 '24 22:07 anton-isidore

It would be nice if Phoenix was more FOSS and friendly to deGoogled operating systems

ghost avatar Jul 07 '24 14:07 ghost

add support for UnifiedPush 🙏🙏🙏

xronin01 avatar Jul 07 '24 14:07 xronin01

The warning message about FCM could let the user choose to run the app as a permanent foreground service. It should not be too hard to do since we are already using a foreground service to run the app in the background. UnifiedPush however would need much more work.

dpad85 avatar Jul 08 '24 09:07 dpad85

The warning message about FCM could let the user choose to run the app as a permanent foreground service. It should not be too hard to do since we are already using a foreground service to run the app in the background. UnifiedPush however would need much more work.

comon really? Some Foss App devs are able to integrate Unified Push Support, but Aqinq cant? That just sounds like an excuse for me?

I used GrapheneOS, and I cant use Phoenix, although I would like to because of the App that requires googles fcm bullshit to work.

warioishere avatar Oct 25 '24 08:10 warioishere

Pushing this again:

First of all, thank you for creating such an amazing wallet that empowers users with the freedom and sovereignty that Bitcoin stands for. Your commitment to decentralization is evident in your work, and I truly appreciate that.

However, I’d like to suggest an enhancement that aligns perfectly with the ethos of decentralization: integrating UnifiedPush as an alternative push notification provider alongside Google’s FCM.

UnifiedPush is an open standard for push notifications that gives users the ability to choose their own notification service, offering greater privacy and control. This approach directly supports the principles of decentralization that Bitcoin embodies.

Integrating UnifiedPush is not a difficult task—it provides a flexible API and excellent documentation for developers. Supporting it would empower users who want to break free from proprietary systems like FCM, further promoting privacy and independence in the Bitcoin ecosystem.

Decentralization isn’t just about Bitcoin—it’s about rethinking the way we build systems and tools for the internet as a whole. By offering UnifiedPush as an option, Phoenix Wallet would lead the way in demonstrating how Bitcoin applications can extend these principles to all aspects of their architecture.

Thank you for considering this proposal. It would be a powerful step toward decentralizing the internet and ensuring true user sovereignty.

Looking forward to your thoughts!

regards, Wario

warioishere avatar Jan 16 '25 18:01 warioishere

Hi! Are there any news on that? I suppose that the notification system is critical when using custom ROMs, especially for de-google devices. Could unifiedpush please be implemented? Also there is 'ntfy.sh' which is very interesting to implement.

Ciugam avatar Jun 30 '25 13:06 Ciugam

@dpad85 any plans for UnifiedPush? Seems like a lot of us want to move away from google and towards a more open system.

Good place to start: https://unifiedpush.org/developers/intro/#set-up-unifiedpush

xmready avatar Nov 12 '25 08:11 xmready