Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, but "bugs" happen and this new wake lock only works in browser safari.

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



It does not work for me in browser Safari (iOS) either:

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

Update: Turns out it's only available behind HTTPS. The PWA bug might be related.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: