demo · v140
Get Installed Related Apps
v140 ships navigator.getInstalledRelatedApps() generally. Click to actually call the API in your browser. The result will be empty unless this origin's manifest is paired with a native app — but the call itself is real.
Apps the browser reports as installed and related:
- —Press the button to query.
Raw response:
—
if ("getInstalledRelatedApps" in navigator) {
const apps = await navigator.getInstalledRelatedApps();
for (const app of apps) {
console.log(app.platform, app.id, app.url, app.version);
}
}
see also
- Get Installed Related Apps API — feature index
- ChromeStatus entry
- Spec — WICG