databag icon indicating copy to clipboard operation
databag copied to clipboard

No notifications sounding through Android

Open lordvic1001 opened this issue 1 year ago • 24 comments

The app recently stopped notifying of new messages on at least Android phones. I'm running app version 1.5 with latest android 14 updates.

lordvic1001 avatar Sep 14 '24 17:09 lordvic1001

It appears google has deprecated the API I was using for delivering push notifications to Android phones. This will likely take me a few days to sort out and require an updated server container. I'm sorry for the outage :(

balzack avatar Sep 15 '24 06:09 balzack

If you get a chance, can you update to the latest container and test it out; this should now be resolved. Thank you for reporting this!

balzack avatar Sep 18 '24 00:09 balzack

I have updated to the latest container, along with a friend who regularly chats with me via Databag. He is receiving notifications now, but I am not.

Friend's Phone: Galaxy S21 5G - SM-G991U1 Kernel Version 5.4.254-qgki-28582291-abG991U1UEUCFXGB running Android 14 My Phone: Pixel 6 with the Jun 20th 2024 Databag Update installed

lordvic1001 avatar Sep 23 '24 15:09 lordvic1001

Any ideas on why myself and clients of my server specifically are still not receiving notifications?

lordvic1001 avatar Oct 04 '24 14:10 lordvic1001

Sorry, somehow I missed your last message.

With the firebase API changes, I now need to host a "repeater" to channel the push notifications through the firebase SDK. Do you have any firewall settings that would prevent communication to: https://repeater.coredb.org/notify?

Would you be able to look at the container logs when you write a message that should produce a push notification, and see if any errors appear?

I'm sorry for the difficulties.

balzack avatar Oct 04 '24 19:10 balzack

I'll need some guidance on how to do that. I should have on e way communication enabled out from my server to your repeater, but i'll explicitly allow it.

lordvic1001 avatar Oct 07 '24 17:10 lordvic1001

I am happy to help. Assuming your are using a container, the logs should be printed as the container output. If you have trouble viewing the container output, let me know what you use for hosting and I will try and figure it out.

balzack avatar Oct 09 '24 01:10 balzack

dblog.txt Here's the log.

lordvic1001 avatar Oct 09 '24 02:10 lordvic1001

I am a bit at a loss, I don't see anything wrong with your server from the logs.

Can you test with the demo server (databag.coredb.org)? Create an account and login with the mobile app; then see if you can create a push notification from another account?

balzack avatar Oct 09 '24 21:10 balzack

I'll try that out.

Sent with Proton Mail secure email.

On Wednesday, October 9th, 2024 at 4:15 PM, Pierre Balzack @.***> wrote:

I am a bit at a loss, I don't see anything wrong with your server from the logs.

Can you test with the demo server (databag.coredb.org)? Create an account and login with the mobile app; then see if you can create a push notification from another account?

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

lordvic1001 avatar Oct 10 '24 02:10 lordvic1001

Hello friends! I have the same problems only on a Huawei smartphone.

VlaK0r avatar Nov 09 '24 18:11 VlaK0r

@VlaK0r you are able to get notifications on other phones but not the Huawei? Is it just sound that is not working?

balzack avatar Nov 09 '24 18:11 balzack

@balzack It is notifications that do not come.

VlaK0r avatar Nov 09 '24 18:11 VlaK0r

@balzack Everything works for my wife on the iPhone.

VlaK0r avatar Nov 09 '24 19:11 VlaK0r

Hrm, I know this has been reported before, but I can't reproduce this on my pixel/android phone. Is there anything special about the firmware on your phone? How long ago did you first install Databag? Was it working initially?

balzack avatar Nov 10 '24 07:11 balzack

@balzack I installed it for the first time. "Microg" is installed on the smartphone so that there would be support for Google services, including notifications.

VlaK0r avatar Nov 10 '24 09:11 VlaK0r

All, I still need to test this.

Sent with Proton Mail secure email.

On Sunday, November 10th, 2024 at 3:54 AM, VlaK0r @.***> wrote:

@.***(https://github.com/balzack) I installed it for the first time. "Microg" is installed on the smartphone so that there would be support for Google services, including notifications.

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

lordvic1001 avatar Nov 11 '24 19:11 lordvic1001

Ok, i had a friend set an account up for me on his server and i'm receiving notifications successfully. It's my own server that is not sending notifications for some reason. We're going to re-attempt from my server now.

lordvic1001 avatar Jan 23 '25 20:01 lordvic1001

I have the same problems only my phone.

My phone : Galaxy S23 (SM-S911N) in Android 14. Friend's phone : Galaxy S21 (SM-S991N) in Android 14.

I couldn't get the notification when I installed the apk released from obtanium, and when reinstalled via Google Play, I received the notification fine.

on9686 avatar Feb 21 '25 11:02 on9686

Alright Balzack,

I connected my app to my friend's server with a local account on his server. This restored my notifications somehow. I then had one of my users uninstall the phone application completely and re-install it. This resolved his notifications via my server. I also reconnected my phone application to my own-server and the notifications were still consistently notifying me of new messages. Is there a field within the phone application that's not getting updated? My issue is resolved now, so this thread can be closed out on my end.

lordvic1001 avatar Feb 24 '25 21:02 lordvic1001

@on9686 , I am not sure where the APK from obtanium came from. If it came from the fdroid store, then it would not have push notifications working through google. The fdroid build has it removed as the supporting libraries are not open source. Do you know if this is the case?

balzack avatar Feb 25 '25 04:02 balzack

@lordvic1001 there is a switch in account settings that enables/disables push notifications. Initially I had that default off, recently I had it default on. Perhaps that was the source of the issue?

balzack avatar Feb 25 '25 04:02 balzack

@balzack I found obtanium's APK came from github released APK file, so it was old version(1.1.11, Nov 8 2023). For now, I'm just going to use the Google Play version. Thank you for your response.

on9686 avatar Feb 25 '25 08:02 on9686

My switch was never turned off.

Sent with Proton Mail secure email.

On Monday, February 24th, 2025 at 10:57 PM, Pierre Balzack @.***> wrote:

@.***(https://github.com/lordvic1001) there is a switch in account settings that enables/disables push notifications. Initially I had that default off, recently I had it default on. Perhaps that was the source of the issue?

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

[balzack]balzack left a comment (balzack/databag#112)

@.***(https://github.com/lordvic1001) there is a switch in account settings that enables/disables push notifications. Initially I had that default off, recently I had it default on. Perhaps that was the source of the issue?

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

lordvic1001 avatar Feb 25 '25 16:02 lordvic1001