powered by Jive Software

Resuming stream on reconnection and app restart

Hi guys,

I am using smack for building a chat app for android devices.

I am using Reconnection manager in case in loss/switch internet connection . Everytime i connect or reconnect My stream gets reset. Hence i am facing a potential message loss problem between the interval of connection loss and user become offline on server.

I want to resume the stream(within a time that server allows) after the reconnection . So that server can send unacknowledge message.

How this can be achieved?