Hi,
If I enable Stream Management, everything works fine as long as the app is not killed. If the app got killed, the SM Id is not available anymore and Smack cannot resume the stream: messages sent after the app got killed and before it got restarted are lost.
So my question is: is Smack able to get and set the SM id? That would be something like this:
String smId = retrieveSmId(); // Internal function to get SM id from preferences if (
smId != null) connection.setSmId(smId); connection.connect(); connection.login(); String newSmId = connection.getSmId(); storeSmId(newSmId); // Internal function to save current SM id into preferences
Thanks!