Project

General

Profile

Bug #6232

Task #6227: Bring Android Messenger inline with iOS messenger

Push does not appear to work

Added by Daniel Wisnewski IoT 1 Cloud about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Critical
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Source Code Disclaimer:

Description

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.

Associated revisions

Revision 79c6c7e3 (diff)
Added by Andrzej Wójcik IoT 1 CloudTigaseTeam about 1 year ago

#6212,#6232: fixing issue introduced by recent changes in sending authcid and authzid during authentication

History

#1 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc TigaseTeam about 1 year ago

  • Priority changed from Normal to Critical

#2 Avatar?id=6098&size=24x24 Updated by Bartosz Malkowski TigaseTeam about 1 year ago

  • Status changed from New to In Progress

#3 Avatar?id=6098&size=24x24 Updated by Bartosz Malkowski TigaseTeam about 1 year ago

  • Status changed from In Progress to In QA
  • Assignee changed from Bartosz Malkowski to Daniel Wisnewski

Problem on server side.

%andrzej.wojcik fixed it, but he have to upgrade server.

#4 Updated by Daniel Wisnewski IoT 1 Cloud about 1 year ago

  • Assignee changed from Daniel Wisnewski to Andrzej Wójcik

Andrzej, please assign to me when push component is functional so I can test. If you are not upgrading server, assign to Eric.

#5 Updated by Andrzej Wójcik IoT 1 CloudTigaseTeam about 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.

#6 Avatar?id=6098&size=24x24 Updated by Bartosz Malkowski TigaseTeam about 1 year ago

I confirm it.

Remember that if you set application to "offline" status, then it will not reconnect.

#7 Updated by Daniel Wisnewski IoT 1 Cloud about 1 year ago

  • Status changed from In QA to Closed
  • % Done changed from 0 to 100

Push functionality now works as described. Closing issue.

Also available in: Atom PDF