News for hackers. Stuff that matters.
Re:WebKit Features in Safari 16.4 by JayStavis on Monday March 27, 2023 @04:55PM (#35332444)
The release notes for 16.4 include "Added Support for the Screen Wake Lock API"

https://developer.apple.com/documentation/safari-release-not...

Re:WebKit Features in Safari 16.4 by sccxy on Monday March 27, 2023 @04:56PM (#35332470)
Yeah, but "bugs" happen and this new wake lock only works in browser safari.

Does NOT work in PWA. Bug or intentional road block?

Re:WebKit Features in Safari 16.4 by CryZe on Tuesday March 28, 2023 @08:23AM (#35339686)
It does not work for me in browser Safari (iOS) either:

undefined is not an object (evaluating 'navigator.wakeLock.request')

Re:WebKit Features in Safari 16.4 by kevindees on Sunday April 02, 2023 @09:19PM (#35417364)
I'd love to know if anyone discovers what is goin on with PWAs. I got wake lock working in the browser but not with the PWA.