- Device Name: Apple
- Device Version: iOS 16.4
- Browser Name: Safari
- Browser Version: 16.4
- NoSleep.js Version: 0.12.0
Expected Behavior
NoSleep is suposed to handle iOS 16.4
Actual Behavior
When using the Wake Lock API, on Safari, in a browser mode, the Wake Lock API work properly.
On the same website, opened after have done "Add to home screen", the Wake Lock API don't work properly. The Wake Lock API seem to not be able to be acquired.
An issue has been reported to WebKit https://bugs.webkit.org/show_bug.cgi?id=205104
How Do We Reproduce?
Here the test page: https://pelord.github.io/wakeLockApiAddHomeScreen/
To test the Wake Lock API, you have to toggle the ZZZ button.
Unchecked ZZZ = Wake Lock API released
Checked ZZZ = Wake Lock API acquired
I'll try do propose a PR soon.
Expected Behavior
NoSleep is suposed to handle iOS 16.4
Actual Behavior
When using the Wake Lock API, on Safari, in a browser mode, the Wake Lock API work properly.
On the same website, opened after have done "Add to home screen", the Wake Lock API don't work properly. The Wake Lock API seem to not be able to be acquired.
An issue has been reported to WebKit https://bugs.webkit.org/show_bug.cgi?id=205104
How Do We Reproduce?
Here the test page: https://pelord.github.io/wakeLockApiAddHomeScreen/
To test the Wake Lock API, you have to toggle the ZZZ button.
Unchecked ZZZ = Wake Lock API released
Checked ZZZ = Wake Lock API acquired
I'll try do propose a PR soon.