Currently when CoogleIOT reconnects to the mqtt server it does so with the cleanSession flag set to true. This results in all subscribtions being cleared. As such it would be helpful to either have a callback that gets called after a successful reconnect or having CoogleIOT automatically restore all subscriptions.
Currently when CoogleIOT reconnects to the mqtt server it does so with the cleanSession flag set to true. This results in all subscribtions being cleared. As such it would be helpful to either have a callback that gets called after a successful reconnect or having CoogleIOT automatically restore all subscriptions.