GoogleChrome / samples

A repo containing samples tied to new functionality in each release of Google Chrome.
https://www.chromestatus.com/samples
Apache License 2.0
5.78k stars 2.38k forks source link

'Site cannot be installed: the page has requested the banner prompt be cancelled' error #510

Open georgianamanolache opened 7 years ago

georgianamanolache commented 7 years ago

I want to make web app banner installer, but I get this error.

image

The manifest is declared as following:

image

Here is the declaration of the service worker: image

remybach commented 7 years ago

Did you get to the bottom of this? I've just encountered it and there doesn't seem to be anything elsewhere on the internet about it 😕

remybach commented 7 years ago

For posterity in case anyone else comes across this: https://twitter.com/addyosmani/status/887521173646356481

AnqiHuangQiQi commented 6 years ago

I also came across this problem. The thing is I am not using that beforeinstallprompt.

AnqiHuangQiQi commented 6 years ago

I just clicked on the Add to homescreen in the Aplication section of the devTool. And nothing happens. And there is no error message in the console. The Lighthouse said that my web can have that prompt. I also tried on https://events.google.com/io2016/. The same thing happened.

simonrl commented 6 years ago

Any solution here? I am having the same problem as @AntheaHuang