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

What happens if the phone goes to sleep? #4

Open
hcientist opened this issue Oct 29, 2014 · 2 comments
Open

What happens if the phone goes to sleep? #4

hcientist opened this issue Oct 29, 2014 · 2 comments

Comments

@hcientist
Copy link

If i have a socket.io connection from an iphone to a (node) server, and then the phone turns off its display, can the app still receive socketio messages? is anything special required to do this?

@brod-ie
Copy link

brod-ie commented Nov 22, 2014

This isn't a library specific question but is in relation to the platform itself. Read up here on the background and suspended states

@Knights22
Copy link

No, only apps using voip have this option to run in the background. The best practice is to monitor when the app is going to the background and send an update to the server noting this. Then whenever that user gets a message default to push notifications.

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