The prompt to install a web app lets users add your app to their homescreen. Users that add apps to homescreens engage those apps more.
For example, shortly after launching this feature, Twitter reported an average of 250K unique daily users launching their Twitter Lite progressive web app 4 times a day from the homescreen. See Increasing engagement with "Add to Homescreen" prompt and web push notifications for more on Twitter's case study.
Chrome will fire the
beforeinstallprompt event only when the
following criteria are met:
- The web app is not already installed
- Meets a user engagement heuristic (currently, the user has interacted with the domain for at least 30 seconds)
- Includes a web app manifest that includes:
- Served over HTTPS (required for service workers)
Has registered a
service worker with a
In addition, the scope of the service worker includes the page you audited
and the page specified in the
start_url property of the web app manifest. See
add to home screen to learn more.