News for hackers. Stuff that matters.
Re:Apple reverses course on death of Progressive Web Apps in EU by nox101 on Friday March 01, 2024 @07:03PM (#39568379)
AFAIK Apple still doesn't support PWAs. As one example AFAIK, iOS Webkit doesn't support fullscreen mode and orientation so it's impossible to make a landscape game as a PWA. That is supported on Android Firefox and Chrome for like 10 years? And would likely be supported on an alternate browser on iOS

I'm pretty sure there are many other APIs that PWAs want, that native apps have, that Firefox and Chrome offer on Android, but since 3rd party browsers are not supported on iOS, don't exist there.

That to me says Apple doesn't want PWAs.

Re:Apple reverses course on death of Progressive Web Apps in EU by latexr on Friday March 01, 2024 @09:06PM (#39569153)
> AFAIK, iOS Webkit doesn't support fullscreen mode and orientation

I just opened a web app saved to the Home Screen, and it’s both full screen and rotates orientation.

Re:Apple reverses course on death of Progressive Web Apps in EU by jwells89 on Friday March 01, 2024 @10:04PM (#39569437)
Yes, installed PWAs can run fullscreen. This limitation exists only inside of Safari proper.

The intent here is likely to avoid the messes that could be caused by arbitrary sites being able to fullscreen and confuse or trick the user. Requiring a user interaction to fullscreen doesn’t help here much, it’s easy to attach the function to an innocuous looking link or image that baits users into tapping them.

Re:Apple reverses course on death of Progressive Web Apps in EU by nox101 on Saturday March 02, 2024 @01:04AM (#39570245)
And yet

(1) Firefox and Chrome has shipped with that ability for 10+ years on Android and the world hasn't ended

(2) PWAs are effectively apps. Native apps can do that those things so there's no difference in terms of risks. You could certainly make it so web pages can't but PWAs can.

Also, no, Safari PWAs do not do allow you to lock the screen orientation

Re:Apple reverses course on death of Progressive Web Apps in EU by nox101 on Saturday March 02, 2024 @01:07AM (#39570265)
"rotates" is not the same as "forces a rotation". If there's a PWA that forces landscape orientation in iOS, same as a native app, please post a link.