Task #6227: Bring Android Messenger inline with iOS messenger
Push does not appear to work
messages are not being delivered to device when signed off or inactive.
Tried accounts on tigase.org, tigase.im, and sure.im and registered device via Settings for each. All messages held in offline until logged back in. Test wait times of up to 30 mins.
#5 Updated by Andrzej Wójcik over 1 year ago
- Assignee changed from Andrzej Wójcik to Daniel Wisnewski
Daniel, I've updated a push component on
tigase.org and did some testing with %bmalkow. From what we found out, push notifications are working fine if the application is not killed on the device. We have found a few reports on the internet like the one at https://stackoverflow.com/questions/43293467/firebase-messaging-service-does-not-receive-messages-when-the-screen-is-off
When you wrote:
messages are not being delivered to the device when signed off or inactive.
what do you mean? as "signed off" or "inactive"?
You will get messages thru push if:
your mobile client is registered for push notifications and is disconnected
there is no other resource connected to this account
application is not manually killed on the device (and OS did not kill it for some unknown reason)
It is also possible that you will not get a notification if your account is disabled on your device. As if I remember correctly Tigase Android Messenger uses push only as a trigger to reconnect and receive messages from offline message storage, but it would be good if Bartosz would confirm this.