- From: Robert Linder <notifications@github.com>
- Date: Mon, 10 Dec 2018 16:04:50 +0000 (UTC)
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 10 December 2018 16:05:15 UTC
Although some browsers _may_ require a serviceworker for the "Add to homescreen"-interface to show, it is part of the [Web App Manifest](https://www.w3.org/TR/appmanifest/). What you want to do is [listen to the `BeforeInstallPromptEvent`](https://developers.google.com/web/fundamentals/app-install-banners/#listen_for_beforeinstallprompt), the spec says: > If the `BeforeInstallPromptEvent` is not cancelled, the user agent is allowed to present an automated install prompt to the end-user. -- 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/ServiceWorker/issues/1375#issuecomment-445869369
Received on Monday, 10 December 2018 16:05:15 UTC