[w3c/manifest] Control the default behavior at the moment of completion of the installation (#995)

(I originally posted this at [manifest-incubations](https://github.com/WICG/manifest-incubations/issues/24), then @dmurph suggested to post it here)

Currently, after installation of a PWA app, Chrome loads current page into the app automatically. But not all web pages in the origin should be loaded into the app. For example, the landing page of the app introduce the application and show an install button. After installation, the app should be launched with it's start_url, not current visited url.

The website should be able to control the default behavior after installation. For example:

- don't launch the app after installation, stay on the current page, and supply a launchApp() method for developers.
- launch the app with start_url (not current url), and stay on the current page

-- 
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/issues/995

Received on Tuesday, 17 August 2021 09:24:57 UTC