logoalt Hacker News

iambatemantoday at 12:08 AM2 repliesview on HN

The fact that iOS safari supports SO many lifecycle features except BeforeInstallPrompt is just so frustrating.

You can feel the dev team trying to get as close as they can without shooting their golden goose App Store.

So many apps could be PWA…and we could expect so much more from the median PWA.


Replies

JimDabelltoday at 2:40 AM

> The fact that iOS safari supports SO many lifecycle features except BeforeInstallPrompt is just so frustrating.

BeforeInstallPrompt is non-standard. They removed it from the specification because Mozilla had no plans to support it and Apple wouldn’t commit either.

Here’s the discussion:

> There is also some disagreement on the a `BeforeInstallPrompt()` event (BIP). Despite BIP having been in the spec for a few years, neither Safari nor Firefox have opted to support it. As it stands, Mozilla does not plan to support BIP. We are unsure what WebKit's plans are - @hober maybe could let us know? If WebKit doesn't plan to support it, then we should probably remove it from the spec.

https://lists.w3.org/Archives/Public/public-webapps-github/2...

So yet again, this is a case of Google wanting something, Google implementing it unilaterally, Google not being able to convince any other rendering engine to implement it, then the non-standard, Blink-only behaviour is being presented in situations like this as if Safari alone is failing to support a standard.

Web standards are not whatever Google wants. They are arrived at through consensus.

show 1 reply
twismtoday at 12:43 AM

This. PWA is the end of 75% of apps being in the app store

show 2 replies