New wake lock API does not work in PWA, only works in Safari...
Apple is making sure that nobody will use PWAs.
New wake lock API does not work in PWA, only works in Safari...
Apple is making sure that nobody will use PWAs.
https://bugs.webkit.org/show_bug.cgi?id=254545
https://bugs.webkit.org/show_bug.cgi?id=249645
Thanks!
Also wanted to point out that the user feedback in https://bugs.webkit.org/show_bug.cgi?id=249645 is not the way we should treat browser developers. (Not blaming the parent - I assume this is some other user being..... cranky?)
Ah yes. The amount of random APIs that are an absolute necessity for something to be called the true PWA just keeps growing with every release.
https://developer.apple.com/documentation/safari-release-not...
Does NOT work in PWA. Bug or intentional road block?
undefined is not an object (evaluating 'navigator.wakeLock.request')
Update: Turns out it's only available behind HTTPS. The PWA bug might be related.