-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support disabling the screen blank/lock #4538
Support disabling the screen blank/lock #4538
Conversation
Support is in for iOS and Android. For some reason Android code doesn't always work !?
Should this really be a desktop API as well? Isn't asking the screen not to sleep pretty much a mobile-only thing? At a minimum, if we want this to be an all-platform API it should probably be |
I was going on what the linked issue described - the way that macOS, Windows and Linux allow apps to stop screensaver in the same way the mobile stops the screen switch off / lock.
I've not found one that can block this request yet. |
Ah, OK, hadn't seen the latest comment activity on the ticket. I'd say if we can at least verify that we can support it on Windows, Mac, and X11, then we can go with the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good to go now, as long as we remember to add the desktop implementation before pulling it into a release
Thanks, I opened #4567 to remind us about desktop, and added it to 2.5 milestone |
API proposed and implementation for iOS and Android.
Windows/macOS/Linux X11&Wayland could be another PR?
Fixes #4534
Checklist: