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

I tested some features on my PWAs.

New wake lock API does not work in PWA, only works in Safari...

Apple is making sure that nobody will use PWAs.

https://whatpwacando.today/wake-lock



If there is a bug, we will fix it. Bugs can be reported at https://bugs.webkit.org. We would never intentionally prevent web technology from working when a site is added to the Home Screen and opened as a web app.



Thanks for posting the bug links.

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?)


Notification from WebPush does not play alert sound

https://bugs.webkit.org/show_bug.cgi?id=254562


> Apple is making sure that nobody will use PWAs.

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.


Not really


The release notes for 16.4 include "Added Support for the Screen Wake Lock API"

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


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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: