News for hackers. Stuff that matters.
Re:Google, Apple remove Navalny app from stores as Russian e... by lerela on Friday September 17, 2021 @08:09AM (#28564492)
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.
Re:Google, Apple remove Navalny app from stores as Russian e... by maxwell on Friday September 17, 2021 @12:16PM (#28567255)
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

Re:Google, Apple remove Navalny app from stores as Russian e... by modeless on Friday September 17, 2021 @10:17AM (#28565778)
Same with geolocation permission. A maps app that has to ask permission for your location every time is at a major disadvantage.
Re:Google, Apple remove Navalny app from stores as Russian e... by maxwell on Friday September 17, 2021 @12:19PM (#28567288)
Might be fixed in the iOS 15 beta.

Also could be workaround, but looks complicated:

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

Re:Google, Apple remove Navalny app from stores as Russian e... by modeless on Friday September 17, 2021 @12:31PM (#28567468)
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.