News for hackers. Stuff that matters.
Re:Is Apple trying to kill PWAs? by dang on Thursday April 02, 2020 @01:46PM (#22761561)
Previous thread: https://news.ycombinator.com/item?id=22686602

Edit: it looks like this article's main point was discussed pretty extensively in the previous thread, including at https://news.ycombinator.com/item?id=22688294.

Re:Is Apple trying to kill PWAs? by neurobashing on Thursday April 02, 2020 @01:55PM (#22761646)
They do stuff like this not because they want to kill the web, but because Apple will always do what it thinks is in the best interests of the company and its customers.

(Who comes first seems to depend on what the technology in question is.)

In the case of WebKit, it's clear they see these "privacy-enhancing" features as a benefit to both, and so they go all-in.

Like removing the floppy drives. Lots of people had good use cases for them but they believed it was the best move for everyone in the long term.

Re:Is Apple trying to kill PWAs? by p2detar on Thursday April 02, 2020 @01:57PM (#22761680)
Wow, this was the ELI5 article that worked for me. Now I finally get it for the context of homescreen apps.
Re:Is Apple trying to kill PWAs? by speg on Thursday April 02, 2020 @02:27PM (#22762009)
I still don't get homescreen apps. When I put a bookmark on my home screen, it just open safari to that page. It's not it's own app, all the other tabs are still there. /confused
Re:Is Apple trying to kill PWAs? by p2detar on Thursday April 02, 2020 @04:49PM (#22763631)
It depends on how the app is written I guess. For example, make a bookmark of this demo PWA app on your homescreen https://airhorner.com. Notice that it opens itself in a full screen mode, no safari controls are shown.
Re:Is Apple trying to kill PWAs? by speg on Friday April 03, 2020 @09:43AM (#22769047)
Thanks! that's neat.

I found this:

> Set the apple-mobile-web-app-capable meta tag to yes to turn on standalone mode.

https://developer.apple.com/library/archive/documentation/Ap...

Re:Is Apple trying to kill PWAs? by Nextgrid on Thursday April 02, 2020 @03:06PM (#22762417)
You need to put special markup in your HTML (and maybe some specific JS) for it to behave like an app and hide the tab bar.
Re:Is Apple trying to kill PWAs? by vidugavia on Friday April 03, 2020 @04:20AM (#22767212)
It still kills tools like Twine in browser though: https://www.reddit.com/r/twinegames/comments/fp1ro2/ios_user...
Re:Is Apple trying to kill PWAs? by connorgutman on Thursday April 02, 2020 @01:49PM (#22761591)
Yes.
Re:Is Apple trying to kill PWAs? by hotgeart on Thursday April 02, 2020 @01:49PM (#22761595)
Still waiting for web push notifications.... I rly hate apple.
Re:Is Apple trying to kill PWAs? by dang on Thursday April 02, 2020 @01:51PM (#22761614)
Ok, but please don't post unsubstantive comments here.
Re:Is Apple trying to kill PWAs? by thewinnie on Thursday April 02, 2020 @02:09PM (#22761824)
Yeap, apple reminds me microsoft back at 199x-200x