Contact emails
Spec
Summary
An event handler to tell a site that it has been installed or added to home screen.
Motivation
Part of the new app banners / add to homescreen capabilities of the Web App Manifest spec. Websites cannot currently request installation, but they should at least be able to tell when they have been installed, so they can alter their behaviour (e.g., remove promo banners asking the user to install them).
Interoperability risk
Firefox: Shipped
Edge: No public signals
Safari: No public signals
Web developers: No signals
If this feature got removed later, sites that expect to receive this event would no longer receive them. However, because delivery of the event is at the discretion of the browser UI, there is no guarantee the event will ever be dispatched (even if the browser implements this API), so there is no possibility of breaking a site.
Compatibility risk
Adds a new attribute to top-level window object (oninstall) and a new event. Should not break existing content unless a site for some reason is relying on their own "install" event on the window object.
Ongoing technical constraints
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)? Yes or no.
Yes, conditional on implementation of app install on those platforms (currently behind a flag on Windows, Mac, Linux, but implemented on Chrome OS and Android).
OWP launch tracking bug
Link to entry on the Chrome Platform Status
Requesting approval to ship?
Yes.