Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No notifications sounding through Android #112

Open
lordvic1001 opened this issue Sep 14, 2024 · 17 comments
Open

No notifications sounding through Android #112

lordvic1001 opened this issue Sep 14, 2024 · 17 comments

Comments

@lordvic1001
Copy link

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.

@balzack
Copy link
Owner

balzack commented Sep 15, 2024

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
Copy link
Owner

balzack commented Sep 18, 2024

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!

@lordvic1001
Copy link
Author

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
Copy link
Author

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

@balzack
Copy link
Owner

balzack commented Oct 4, 2024

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.

@lordvic1001
Copy link
Author

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.

@balzack
Copy link
Owner

balzack commented Oct 9, 2024

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.

@lordvic1001
Copy link
Author

dblog.txt
Here's the log.

@balzack
Copy link
Owner

balzack commented Oct 9, 2024

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?

@lordvic1001
Copy link
Author

lordvic1001 commented Oct 10, 2024 via email

@VlaK0r
Copy link

VlaK0r commented Nov 9, 2024

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

@balzack
Copy link
Owner

balzack commented Nov 9, 2024

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

@VlaK0r
Copy link

VlaK0r commented Nov 9, 2024

@balzack It is notifications that do not come.

@VlaK0r
Copy link

VlaK0r commented Nov 9, 2024

@balzack Everything works for my wife on the iPhone.

@balzack
Copy link
Owner

balzack commented Nov 10, 2024

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?

@VlaK0r
Copy link

VlaK0r commented Nov 10, 2024

@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.

@lordvic1001
Copy link
Author

lordvic1001 commented Nov 11, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants