-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8afb0af
commit 7e101f1
Showing
2 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
App Install Banner User Response Sample | ||
Deferred App Install Banner Sample | ||
=== | ||
|
||
See https://googlechrome.github.io/samples/app-install-banner/useraction-banner/index.html for a live demo. | ||
See https://googlechrome.github.io/samples/app-install-banner/deferred-banner/index.html for a live demo. | ||
|
||
|
||
#### Directions: | ||
|
||
* Install Chrome, or another browser that supports Service Workers and manifest | ||
* Visit the site over two separate days. | ||
* Or, more usefully, enable chrome://flags/#bypass-app-banner-engagement-checks | ||
* Install Chrome, or another browser that supports Service Workers and manifest. | ||
* Wait a day. | ||
* Or, enable chrome://flags/#bypass-app-banner-engagement-checks to enable the button right away. | ||
|
||
On the second vist, you will see a message on the page that says the user either installed the app or dismissed the banner. | ||
Once the button is enabled, Chrome will display the Add to Home Screen prompt when you click it. |