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

Does setTimeout and setInterval work in the background on iOS and Android when the screen is locked? #193

Open
acarlstein opened this issue Feb 22, 2024 · 0 comments

Comments

@acarlstein
Copy link

Will you help me? I'm trying to build two applications.

One application requires to create a series of timers.
The other application requires communication with a server to exchange coordinates.

Both applications must work when the app goes in the background, when the user locks the screen, or when the screen goes black.

Could someone please confirm whether setTimeout and setInterval work in the background for iOS and Android?

I'm aware that android might required a permission to do so.
I'm aware that iOS requires adding keys/values in the Info. list to do so.

If they do but require extra work, could a link to a tutorial be included? Thank you

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

1 participant