Re: [w3c/ServiceWorker] Hiding add to homescreen minibar for certain urls. (#1375)

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