News for hackers. Stuff that matters.
Re:Google, Apple remove Navalny app from stores as Russian e... by maxwell on Friday September 17, 2021 @08:00AM (#28564424)
Which features?

getUserMedia is now supported in WebViews, so one can build, for instance, a FaceTime competitor that runs on Chrome on iOS, where it wasn't possible a few months ago. But the Fullscreen API still isn't supported, a blow to the web-based FT competitor.

What else?

Re:Google, Apple remove Navalny app from stores as Russian e... by meibo on Friday September 17, 2021 @08:09AM (#28564491)
Push notifications are impossible on iOS PWAs. Basically takes out a big chunk of possible apps you could build on this, no one wants e.g. a messenger that can't notify you when you get a message.
Re:Google, Apple remove Navalny app from stores as Russian e... by maxwell on Friday September 17, 2021 @09:47AM (#28565428)
That's a good one, here's the feature request:

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

Re:Google, Apple remove Navalny app from stores as Russian e... by ghostwriter on Friday September 17, 2021 @09:12AM (#28565059)
> no one wants e.g. a messenger that can't notify you when you get a message.

I deliberately disable push notifications in all messengers to avoids distractions, even though I'm actively using the messengers _when_ I want to sync with people.

Re:Google, Apple remove Navalny app from stores as Russian e... by TheOtherHobbes on Friday September 17, 2021 @09:24AM (#28565184)
It's great that works for you.

Other users have other priorities.

Re:Google, Apple remove Navalny app from stores as Russian e... by hvdijk on Friday September 17, 2021 @09:47AM (#28565431)
The claim was "no one wants x", the reply "I want x", your counter "others don't want x" as an attempt to dismiss the reply. That is unfair, the original claim that no one wants it was wrong and it was correct to point out that it was wrong.
Re:Google, Apple remove Navalny app from stores as Russian e... by Guidii on Friday September 17, 2021 @10:08AM (#28565664)
The fundamental question is: would anyone choose to implement a messenger app as a PWA on a platform that doesn't support reliable notifications.

"Nobody wants...." is probably best interpreted as "No developers want to build..."

Re:Google, Apple remove Navalny app from stores as Russian e... by hvdijk on Friday September 17, 2021 @10:15AM (#28565744)
The idea of PWAs is that you make them once and they'll work on all platforms. The reality doesn't quite live up to that idea as this thread shows, but to me the idea to have single-platform PWAs still seems so odd that I would not interpret it that way. Still, if that was what was meant, then sure, I think I agree.
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.
Re:Google, Apple remove Navalny app from stores as Russian e... by the-dude on Friday September 17, 2021 @09:37AM (#28565322)
Isn't Chrome on iOS, just like every other browser on iOS, just Safari?
Re:Google, Apple remove Navalny app from stores as Russian e... by maxwell on Friday September 17, 2021 @09:51AM (#28565473)
Well, they all use WebViews, as far as I know, but Safari has its own browser UI "chrome".

https://developer.apple.com/documentation/webkit/webview

Before iOS 14.3, getUserMedia didn't work in WebViews. See note 3: https://caniuse.com/stream

Re:Google, Apple remove Navalny app from stores as Russian e... by mcdevilkiller on Friday September 17, 2021 @09:45AM (#28565411)
It is. It's just a skin.