AnsweredAssumed Answered

Resuming a stream in Smack 4.1

Question asked by JD on Apr 7, 2015
Latest reply on Apr 8, 2015 by Flow



I've been working on an IM Client for android which was using aSmack back then but have already managed to update it to Smack 4.1 release version.


I have managed to enable Stream Management by using:




Now, SM seems to work fine when 'cleanly' disconnecting from the connection by manually triggering:



since the messages sent on the disconnected client were retrieved whenever it goes connected again.


Now, I would just like to ask on how will the handling be when the client got 'unclean' disconnection from the WiFi / GSM? (i.e Turning off/on the WiFi)


Any thoughts would be appreciated,