Declarative Link Capturing for PWAs
- Category
- Capabilities (Fugu)
- Type
- New or changed feature
- Status
- No longer pursuing (Chrome No longer pursuing)
- Intent stage
- Removed
Summary
=== Obsoleted by web app launch handler: https://chromestatus.com/feature/5722383233056768 === Web App Manifest members to control what happens when the user navigates to a page within scope of an installed web app. - Automatically open a new PWA window when the user clicks a link to their app. - Have a "single window mode" like mobile apps. Was in origin trial from M91-M97: https://developer.chrome.com/origintrials/#/view_trial/4285175
Motivation
After a user installs a PWA, currently the only way to open that PWA in its standalone window is to launch it directly from the system launcher, or use hard-to-discover Chrome menus to "pop out" web pages into the installed app. Site developers commonly request the ability for when the user clicks a link into their (already installed) app's scope, it automatically opens the app window. This mirrors the behaviour of apps on mobile which do this automatically. Site developers also frequently request the ability to, by default, focus an existing instance of the app rather than opening a new one. For example, a music player app doesn't make sense to open a second instance.
Standards & signals
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=declarative-link-capturing-for-pwas
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Declarative%20Link%20Capturing%20for%20PWAs
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Declarative%20Link%20Capturing%20for%20PWAs
- Baseline status: https://webstatus.dev/?q=Declarative%20Link%20Capturing%20for%20PWAs
Explainers: https://github.com/WICG/sw-launch/blob/master/declarative_link_capturing.md