riot-android icon indicating copy to clipboard operation
riot-android copied to clipboard

Clients doesn't receive notifications until the app is open

Open amarquez80 opened this issue 5 years ago • 8 comments

Hi everyone I'm having problems with notifications they arrive only if the app is open this behavior is the same on iPhone and Android clients.

Someone has been through a similar situation?

Thanks

amarquez80 avatar Mar 10 '20 17:03 amarquez80

Hi, have you been maybe testing RiotX lately? I'm not sure if it is related but I was testing it on the same device I have Riot, uninstalled it again and experienced the same notification problem you're describing. 2 days ago I noticed Notification Targets in the settings and RiotX was still showing up there although I removed the device/session. After deleting it and my contacts manually opening Riot once they seem to be now getting notifications again. Just try it out, won't hurt I guess :)

herndlm avatar Mar 14 '20 14:03 herndlm

Perhaps I am misunderstanding the intended behaviour, but I think I'm experiencing the same problem. I'm running my own private matrix server and connect to it with the android app. When I send something to another user (same app), the message is not notified until the other user manually opens the application. This also goes voor voip / conference calling. Is there a way to force 'always online', maybe?

joachimnielandt avatar Mar 16 '20 16:03 joachimnielandt

Hi, Depending on the mobile manufacturer, there are some steps that need to be fulfilled in order the notifications to work normally. For example I use Xiaomi Mi6 (with MIUI) and I used to check Settings --> Apps --> Manage Apps --> Riot.im and check "Autostart". Also in the same window "Battery Saver" needs to be "No restrictions". For Huawei you need to add the app in the allowed apps that run in the background. See this link For Samsung, Sony, Nokia ... I am sure that there are similar settings. Check it out.

And if you wonder why the mass chat apps like Viber, Messanger and so on works without problems, that is because they are more "aggressive" and they set these settings during the installation automatically.

bahur142 avatar Mar 22 '20 08:03 bahur142

Good hint, I'll try to get that behaviour on my OnePlus (apparently to do with disabling battery optimisation for a specific app).

joachimnielandt avatar Mar 22 '20 09:03 joachimnielandt

Can confirm this issue. Riotx has no problem. Only the classic riot.

finzzz avatar Apr 02 '20 17:04 finzzz

Running Android 10, with 0.9.12 Riot.im app. Not receiving notifications when friend sends me a message. Doesn't matter if I have screen on or off. Happens daily, multiple times per day.

ghost avatar Jun 29 '20 13:06 ghost

I don't get notifications, either. The app is useless at the moment.

nakal avatar Jul 22 '20 19:07 nakal

I'm not getting notifications either. Element: Version 1.0.0 [40100002], 0.0.1 Matrix SDK, 3.1.2 OLM Version. Synapse: 1.17.0

deltabeard avatar Jul 24 '20 09:07 deltabeard