Re: [w3c/manifest] BREAKING CHANGE: remove beforeinstallprompt event (#836)

Users can always use browser UI ("Add to Home screen" menu item) to install a web app outside of using `beforeinstallprompt`. This is where `appinstalled` becomes important in isolation.

To expand on Matt's point, we often saw developers create custom web content UI that pointed to our 3-dot menu saying "you can install in here - choose the menu item". I've seen this pattern on iOS too where sites create UI that points to the middle of the bottom of the screen (the share button), which is where "Add to Home screen" lives in Mobile Safari.

`beforeinstallprompt` alleviates this pattern - it lets developers prompt the user more respectfully without creating prompting UI of their own that is tied to browser-specific UI that may change and may be different between different browsers.

In browsers without `beforeinstallprompt`, `appinstalled` allows developers to suppress any prompting UI they create. It also allows them to measure install conversions.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/836#issuecomment-604833764

Received on Friday, 27 March 2020 06:14:56 UTC