ACINQ / phoenix

Phoenix is a self-custodial Bitcoin wallet using Lightning to send/receive payments.
https://phoenix.acinq.co
Apache License 2.0
656 stars 97 forks source link

Google independent notification messaging (do not rely on FCM) #579

Open anton-isidore opened 3 months ago

anton-isidore commented 3 months ago

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:

MasterixCZ commented 2 months ago

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

xronin01 commented 2 months ago

add support for UnifiedPush 🙏🙏🙏

dpad85 commented 2 months ago

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.