Contact emailsalanc...@chromium.org, mgi...@chromium.org
A "launch_handler" app manifest member that enables web apps to customise their launch behaviour across all types of app launch triggers.
"name": "Example app",
This will cause all launches of the Example app to focus an existing app window and navigate it (if it exists) instead of always launching a new app window.
Launch handler is a successor to the Declarative Link Capturing API.
Web apps currently cannot control whether they're launched in a new app window or whether an existing window is reused. This feature helps support web apps that wish to remain in a single window on desktop platforms.
Initial public proposalhttps://github.com/WICG/sw-launch/issues/33
TAG review statusPending
No, this feature involves opening/navigating app windows from various OS surface centric app launch triggers.
Interoperability and Compatibility
Low interop risk. Web apps currently operate using the "default" launch_handler behaviour where new windows are opened on desktop and existing clients are navigated on mobile. To ensure forwards compatibility the launch_handler fields will accept lists of values similar to display_override to allow sites to use new values without breaking older browser.Gecko
: No signalWebKit
: No signalWeb developers
: No signals
Requires code in //chrome?True
Link to entry on the Chrome Platform Statushttps://www.chromestatus.com/feature/5722383233056768