Now, I lock the phone, and when I subsequently unlock the phone, all subscriptions are lost. This behavior differs from other implementations, for instance mqtt.js which delivers qos1+ messages after reconnecting, although I am not sure what is the correct behavior...
Case in point for my use-case is the need for resetting the server-side session for some users which have to wide persistent subscriptions...
Hi,
First of all, thanks for providing a great MQTT client! Works really nice.
I have however, stumbled upon a potential issue...
I connect to my mqtt broker like this:
Then I subscribe to some topics (with qos1).
All is good.
Now, I lock the phone, and when I subsequently unlock the phone, all subscriptions are lost. This behavior differs from other implementations, for instance mqtt.js which delivers qos1+ messages after reconnecting, although I am not sure what is the correct behavior...
Case in point for my use-case is the need for resetting the server-side session for some users which have to wide persistent subscriptions...
Thanks for any input on this!