-
Notifications
You must be signed in to change notification settings - Fork 499
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
Missing push notifications #1696
Comments
…ectedDataAvailable]`. At least, logging to file will be enabled
A way to reproduce missing notifications:
-> The device will never show a notification for the message. Looking at OS logs, Riot fired the watchdog described above. |
After testing, the bug described in the previous comment is fixed by 9f2fe58. |
…ectedDataAvailable]`. At least, logging to file will be enabled
Further push notification crash logs: Push-notification-crash-logs.zip At least for the last one, 18.12. 13:32 I know I missed a push notification for a message sent 13:31 to me. The other logs look very similar anyway. |
Thanks @csett86 for your logs that confirm the fix I made is the right one. |
Dave now receives a burst of notifications when he unlocks his phone in the morning. |
The solution seems to move the storage of MXAccount credentials from NSUserDefaults to a simple file with the appropriate read access right like The reason of this move is explained at https://forums.developer.apple.com/thread/15685#45849: |
…ication isProtectedDataAvailable]` anymore Thanks to matrix-org/matrix-ios-kit#387
Missing Push Notifications (#1696): We do not need to wait for `[appl…
…pp fails to sync with its hs to get all data. This fixes the case logged at https://riot.im/bugreports/listing/2017-12-27/163238/console.2.log.gz
…pp fails to sync with its hs to get all data. Build the string for the notification
…pp fails to sync with its hs to get all data. Renaming
…pp fails to sync with its hs to get all data. Show notif on /sync failure callback too
…pp fails to sync with its hs to get all data. wording
…pp fails to sync with its hs to get all data. Fixed easy Giom's remarks
…pp fails to sync with its hs to get all data. Fix last Giom's remark: Make sure we do not display a "limited" notif for an event with already a "full" notif.
…pp fails to sync with its hs to get all data. BF: Return a string
…pp fails to sync with its hs to get all data. BF: Return a string (cherry picked from commit 30125ea)
Is there any updates on this issue? Most of our employees on iOS are experiencing it to varying degree. Android works fine. Happy to help with additional info if needed. |
I have noticed that I don't get push notifications at all on iphone X but they work for the most part on an older ipad. |
There are several reports of people complaining Riot sometimes misses to notify them like in the Riot iOS room.
I reproduced a possible similar bug at https://github.com/matrix-org/riot-ios-rageshakes/issues/748 where the notification happened with a 3 min delay.
Looking at system logs, they show that the app tried to start at the time of the notification but it fired a 30s watchdog because it was infinitely looping at https://github.com/vector-im/riot-ios/blob/898353e47d0b70486885e322a2bd3620176e2383/Riot/AppDelegate.m#L315-L320
Note: this piece of code was for fixing spontaneous logout (#1653)
The text was updated successfully, but these errors were encountered: