-
Notifications
You must be signed in to change notification settings - Fork 395
sticky notifications come back #2088
Comments
@c-e-p-x-u-o I assume i could explain your notification behaviour (because i'm the one who implemented it) The notification is unswippable because it is linked to a service which is putin foreground. When a push is received (when the application is in background), a sync request is triggered to retrieve the notified messages. This service is put in foreground during this catchup (it might require until 30s to be done) to keep it alive ie avoid being killed asap by android (android >= 6 devices). At the end of this catchup, the notification might disappear. (it seems it was your case). So, you have many ways to fix it The most boring ones were the missing incoming calls (and, please, don't tell us that you don't use the call feature, many users use it) On android >= 8 devices, it is required. The background sync request cannot work without it. 2- you disable the background sync: the notifications will be something like "XXX unread messages" i'm sure nobody would accept to do not receive notifications because of android restrictions the fix could be 1- update 2- you ask the permission to "run in background" once (with description similar to telegram) 3- you add a 2nd notofification like we used to have on fdroid, and many users will complain about having two Riot notifications |
Thank you for explanation, looks like my understanding of the process is correct.
My riot have ALL permission including battery (not optimized) |
Moreover the stucked notification is not "Synchronizing" but the latest message. |
Sorry for confusing, I can't clear it for already three hours. |
I can't clear it even if I close riot. I need to kill riot by long back. |
@manuroe @Tyuoli i suspect you would need to update |
@c-e-p-x-u-o "phone" permission -> i should have named it "android permissions" |
You mean send bug report from the app, right? |
I think that one is so Riot can detect when you're on a normal phone call. If Riot would ring for an incoming Matrix call while you're already on a normal call, that would be very annoying indeed. |
@ylecollen, hello :)
I have now a doubt on this. This foreground notification, "Synchronising", seems to be displayed only for an initial sync (on login or on deleting the cache) by the code at: All this piece of code talks about initial sync and debugging it shows that we never pass in it when doing a background sync to fetch event message data. |
Wow. We have now a long list of related rageshakes but most of them are before 0.8.3 where notifications have been improved. |
I've send two bug reports from 0.8.3. |
The last message that was sent is stuck at my notification bar. It won't go away unless i restart my phone. |
@Rejinderi 0.8.5 version? |
@c-e-p-x-u-o precisely |
Confirm! I've send bugrepot from the riot app. |
Related to #2130 that gives information on how we fix it. |
after upgrade to 0.8.3 it was impossible to clear the notification about new message
but some time later it disappeares
The text was updated successfully, but these errors were encountered: