-
Notifications
You must be signed in to change notification settings - Fork 550
[BUG] Notifications not working #654
Description
Since I installed 0.59.3 and after that switched to a Oneplus 5T push notifications stopped working at all. Strangely enough, my colleagues seems to experience similar issues.
At first, the "Send a test push to my user"-button was working in the Settings => Push page, but that stopped working too recently (around the same time I switched to the 5T). When doing debugging with some logs, it seems I have registered 4 devices. But, after pressing "Send a test push to my user" some times (2-3 times) 1 push token is removed from the devices and so, pressing again will only send the test notification to 3 devices. After clearing my Rocket.Chat+ data on my Oneplus 5T and login in again, I have 4 push tokens (devices) again, but still no notifications are received. It seems my device is not receiving them properly, and so is removed.
Logs from Rocket.Chat:
�[34mI20171222-00:01:25.850(0) Push: send message "@wvanos" via query { userId: 'mMvjThapLYfBCah4P' }
�[34mI20171222-00:01:25.853(0) Push: send to token { gcm: 'TOKEN_1' }
�[34mI20171222-00:01:25.856(0) Push: send to token { gcm: 'TOKEN_2' }
�[34mI20171222-00:01:25.858(0) Push: send to token { gcm: 'TOKEN_3' }
�[34mI20171222-00:01:25.860(0) Push: send to token { gcm: 'TOKEN_4' }
�[34mI20171222-00:01:26.123(0) removing push token TOKEN_3
�[34mI20171222-00:01:50.934(0) Push: send message "@wvanos" via query { userId: 'mMvjThapLYfBCah4P' }
�[34mI20171222-00:01:50.936(0) Push: send to token { gcm: 'TOKEN_1' }
�[34mI20171222-00:01:50.939(0) Push: send to token { gcm: 'TOKEN_2' }
�[34mI20171222-00:01:50.944(0) Push: send to token { gcm: 'TOKEN_4' }
--- Relogging --
�[34mI20171222-00:05:11.687(0) Push: send message "@wvanos" via query { userId: 'mMvjThapLYfBCah4P' }
�[34mI20171222-00:05:11.690(0) Push: send to token { gcm: 'TOKEN_1' }
�[34mI20171222-00:05:11.694(0) Push: send to token { gcm: 'TOKEN_2' }
�[34mI20171222-00:05:11.696(0) Push: send to token { gcm: 'TOKEN_4' }
�[34mI20171222-00:05:11.697(0) Push: send to token { gcm: 'TOKEN_5' }
I'm not sure how to debug the app and get some logs here, unfortunately. Should logcat work?
Strangely enough, https://gateway.rocket.chat/ is down now. But at the time of testing it wasn't.
- Your Rocket.Chat.Android app version: 1.0.33 (not sure how this is possible, as the latest is 1.0.31 on Github?)
- Your Rocket.Chat server version: 0.59.3
- Device model (or emulator) you're running with: Oneplus 5T, stock ROM (Android Nougat).
- Steps to reproduce:
Trigger a push notification in any way.