Native App Install Banners

Native app install banners give you the ability to let users quickly and
seamlessly install your native app on their device from the app store, without
leaving the browser, and without showing an annoying interstitial.

When is the banner shown?

Chrome will automatically show the native app install prompt to the user when
the following criteria are met:

Neither the web app or the native app are already installed

Meets a user engagement heuristic (currently, the user has interacted
with the domain for at least 30 seconds)

prefer_related_applications

The prefer_related_applications property tells the browser to prompt the
user with your native app instead of the web app. Leaving this value unset,
or false, the browser will prompt the user to install the web app instead.

related_applications

related_applications is an array with a list of objects that tell the
browser about your preferred native application. Each object must include
a platform property and an id property. Where the platform is play
and the id is your Play Store app ID.

Feedback

Was this page helpful?

Great! Thank you for the feedback. If you have any ideas on how we can improve, please
open an issue.
Sorry to hear that. Please open an
issue and tell us how we can improve.