diff --git a/app-install-banner/deferred-banner/index.html b/app-install-banner/deferred-banner/index.html index 0bc08657ea..32efb8f1ee 100644 --- a/app-install-banner/deferred-banner/index.html +++ b/app-install-banner/deferred-banner/index.html @@ -32,23 +32,16 @@

Web App Install Banner: Defer prompt of banner sample

-

Frequently developers want be able to control when the Add to homescreen prompt is shown to users. - This API and example shows you how you can defer the prompt until a later time, in this case when the - user clicks the button below. If the button below is disabled, Chrome has chosen now is not a good time to - show the prompt.

+

Frequently developers want be able to control when the install flow is shown to users. + This API and example shows you how you can defer the flow until a later time, in this + case when the user clicks the button below.

-

If the button is disabled, come back in a few minutes and the button will be enabled.

- -

For testing, we encourage you to force the button to be enabled by setting the - chrome://flags/#bypass-app-banner-engagement-checks flag.

- - +

Below you will see the output of the example.

diff --git a/app-install-banner/deferred-banner/readme.md b/app-install-banner/deferred-banner/readme.md index d66f29fc20..78fea11a8a 100644 --- a/app-install-banner/deferred-banner/readme.md +++ b/app-install-banner/deferred-banner/readme.md @@ -3,11 +3,9 @@ Deferred App Install Banner Sample See https://googlechrome.github.io/samples/app-install-banner/deferred-banner/index.html for a live demo. +#### Directions -#### Directions: +* Install Chrome, or another browser that supports manifest. +* Visit the demo page. -* Install Chrome, or another browser that supports Service Workers and manifest. -* Wait a few minutes. -* Or, enable chrome://flags/#bypass-app-banner-engagement-checks to enable the button right away. - -Once the button is enabled, Chrome will display the Add to Home Screen prompt when you click it. +The browser will trigger the install flow when you click the button.