Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Has no reconnection mechanism ? #1

Open
jacarrichan opened this issue Dec 16, 2014 · 2 comments
Open

Has no reconnection mechanism ? #1

jacarrichan opened this issue Dec 16, 2014 · 2 comments

Comments

@jacarrichan
Copy link

Has no reconnection mechanism ?

@hamidrezabstn
Copy link

for reconnecting you should start service again in callback class inside connectionlost() function!

@alexislg2
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants