balzack / databag

fast & lightweight self-hosted messenger
Apache License 2.0
907 stars 50 forks source link

Push Notifications on Android (MicroG) #127

Closed tokenwizard closed 1 day ago

tokenwizard commented 2 days ago

I have a OnePlus device running /e/ OS which has fully functioning MicroG built in, including Google Cloud Messaging. Currently there are 20+ apps registered with GCM and their push notifications work just great.

But the Databag app installed via F-Droid is not showing as being registered for GCM and I am not getting any Push Notifications.

What Notification Daemon is expected for use with Databag? I'm wondering if there is something else I need to install/enable to get working notifications.

balzack commented 1 day ago

f-droid requires open source software, so as far as I know google cloud messaging is not permitted.

To get push notifications working with the f-droid build of databag, you need to use UnifiedPush. To enable this you can install the ntfy app which will relay the push notifications for databag.

tokenwizard commented 1 day ago

Got it. Or I could try the playstore version via Aurora and it would probably work. I'll give that a try.

Thanks!

-------- Original Message -------- On 11/20/24 9:20 PM, Pierre Balzack wrote:

f-droid requires open source software, so as far as I know google cloud messaging is not permitted.

To get push notifications working with the f-droid build of databag, you need to use UnifiedPush. To enable this you can install the ntfy app which will relay the push notifications for databag.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

tokenwizard commented 1 day ago

Confirming the playstore version of Databag (from Aurora Store as well) does have working GCM push notifications for anyone else who may stumble across this thread.