Notifications not working, even though "listening for notifications" [F-Droid; Huawei P30]
Steps to reproduce
I am using the most recent version of Element on an android Huawei P30 phone. Notifications work on another phone of mine fine, and I have painstakingly gone through every single notifications/battery setting that I could find. I even went through the "Troubleshoot notifications" menu item, which showed that everything was working fine.
Symptoms
- In the system notifications, there is a notification saying "Element. Listening for notifications. 1 min ago." Sending a message to the person however does not trigger any notifications.
- Even when the Element app is open in the foreground, no notifications appears.
I note that this issue is different that some other people, where notifications work fine only when the app is open and running in the foreground.
Outcome
Not working.
Your phone model
Huawei P30: ELE-L29
Operating system version
12.0.0
Application version and app store
1.4.36 [40104360] (F-6cada8f6)
Homeserver
matrix.org
Will you send logs?
Yes
Are you willing to provide a PR?
No
Also have the issue on a samsung, notifications stopped working maybe a couple of weeks ago. Opening the app manually sometimes triggers the missing notifications to appear, but interestingly they don't necessarily show in-app (the little unread counter doesn't always appear on the channel that just generated the notification)
I have the same problem of missing notifications in Element Android, as well as 2 other people that I know. This is super frustrating 🤕 Today I found a "workaround" for it. Looks like when you minimize the app while you are in a room/DM, Element still thinks that the app is active and you're following its messages, so if a new message arrives, it either won't notify you, or will make a noisy alert but show no notification. So before you minimize the app, press Back to go to the chats list, and then the notifications will work normally. At least that's how it works in my Samsung phone. I wish someone will be able to help with this soon 🫤
I've found that my pihole was the issue, it was blocking the Google servers used for notifications. Might be something to look into
Just to let everyone know: I did find a solution. It is to use UnifiedPush for push notifications. This is a NON-GOOGLE push notifications service. All you need to do is install the NTFY app that is available on F-droid.
I can't remember the steps to set this up, but I remember it being easy. I think that you only need to go into the Element settings, go to notifications, and then choose "ntfy" for notification method instead of "background synchronization".
I haven't tested this too much, but it seems to work.
I had never heard of that but that's very neat, just switched to it to using the self hosted NextPush. Thanks for the tip @MarkWieczorek ! Now if home assistant could support it too I'd just re-block Google's servers and call it a day, sigh
Same here on 4 android xiaomi phones...
I am Also using the most recent version of Element on an android phone. Notifications work on other phone apps, and I have also painstakingly gone through every single notifications/battery setting that I could find. I even went through the "Troubleshoot notifications" menu item, which also showed that everything was working fine. Unlike others, when I go into the Element settings, there is no choice for notifications method.
Symptoms
Same as above In the system notifications, there is one notification saying "Element. Listening for notifications. When receiving a message from anyone it does not trigger any notifications when the app is open in the foreground or not. Even Skype will give me notifications when the app is open in the foreground or not. Element Never gave me even one notification ever.
My phone model Samsung A32 5G SM-A326U REV1.0
Operating system version OneUI 5.1 Android 13
Element App version 25.04.3 (202504032)
Homeserver matrix.org
Same issue with Samsung S25 with Element set to the "Unrestricted Battery" mode. It doesn't notify me about new messages, just when it wants.