New wake lock API does not work in PWA, only works in Safari...
Apple is making sure that nobody will use PWAs.
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')
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://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?)
A next major step is inclusion into the app store, but until then this is a major win for PWA.
Now if we could get periodic background sync api, and vibration api, that would be perfect.