-
Notifications
You must be signed in to change notification settings - Fork 0
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
Wake lock not working on iPhone #91
Comments
On my iphone XR with iOS 15.1 with web app version 0.15, the wake lock no longer prevents the device from going to sleep when a trip is running. The screen darkens when the auto-lock time in the display settings is reached, and updates to the server stop. |
When investigating this issue, be aware that many phones have a feature where they don't lock as long as a face is looking directly at the screen. Locking also usually doesn't happen when the phone is connected to USB and/or power. |
Just confirmed that wake lock works as expected for the ipad |
After some debugging it seems like nosleep.js wake lock is set on the iphone, but doesn't actually work. This GH issue seems to confirm. It mentions a workaround, which I will look into. |
Confirmed that issue is resolved by workaround when running server locally and publishing with |
Fixed with PR #96 |
No description provided.
The text was updated successfully, but these errors were encountered: