Install Close

Open the browser console to view verbose logging.

This web app displays custom installation toast immediately after opening (for demo purposes). This is an anti-pattern! Please don't do this.

This web app doesn't display custom installation toast and disables the "Install" button if the related app is installed. This is a best practice.

Install available:

Install platforms:

Choice result outcome:

Choice result platform:

Get installed related apps supported:

Install demo app to see how getInstalledRelatedApps works when the related TWA / WebAPK / native app is installed.

Installed related apps: