android-mqtt-push
android-mqtt-push copied to clipboard
Has no reconnection mechanism ?
Has no reconnection mechanism ?
for reconnecting you should start service again in callback class inside connectionlost() function!
Sure about that ? In the connectionLost function when I call the service again but since there is no network an error is thrown.
What I want is : when the devices disconnects, then the device will automatically reconnect and resubscribe as soon as the networks comes back. Exactly like GCM does. How can I do that?