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

Not a feature per se, but being in the process of building a PWA for iOS with access to the camera, the fact that the authorization dialog pops up every time the app is opened (meaning that the permission is not saved even if the PWA has not been modified) looks like a deliberate attempt to make this technology not truly viable, because it really provides terrible UX.


Yeah, I've run into that too.

Seems to affect most/all permissions, e.g. https://bugs.webkit.org/show_bug.cgi?id=213468

Looks like persistent permissions might be in the iOS 15 beta though: https://bugs.webkit.org/show_bug.cgi?id=228317

Also appears that they're implementing the Permissions API:

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

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


Same with geolocation permission. A maps app that has to ask permission for your location every time is at a major disadvantage.


Might be fixed in the iOS 15 beta.

Also could be workaround, but looks complicated:

https://stackoverflow.com/questions/39665367/how-to-prevent-...


That "workaround" is only available for store apps, not PWAs. Apple would love if every web developer had to submit to their app store just to add features like geolocation and camera and notifications. And that's exactly what happens today.




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

Search: