- From: frlinw <notifications@github.com>
- Date: Fri, 27 Jul 2018 13:20:34 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 27 July 2018 20:20:57 UTC
I want to discuss about the possibility to give more control (to the developer) on what to do after webapp installation. Current UA behavior after webapp installation: - None of android browsers open the installed webapp - Chrome desktop close the tab and open the installed webapp I tought about trigger `appinstalled` event on every page load (if the app is already installed) and hence it with: - isWebappContext: readonly property - open(): method to launch the installed webapp Description of a complete use case: - `beforeinstallprompt` event is triggered - Save `beforeinstallprompt` event -> show an "install button" - Click on "install button" -> call `BeforeInstallPrompt.prompt()` - `appinstalled` event is triggered -> Hide the "install button" -> show an "open app button" - Click on "open app button" -> call `AppInstalledEvent.open()` - The webapp is opened in app context - Check if AppInstalledEvent.isWebappContext is true -> hide the "open app button". -- 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/705
Received on Friday, 27 July 2018 20:20:57 UTC