Re: [w3c/manifest] Way to detect if a web app is installed (Issue #1092)

dmurph left a comment (w3c/manifest#1092)

I think all folks preferred to have the installed state (yes or no) as a media query, as the main use case here seemed to be for showing / hiding UX for install button.

navigator.standalone we decided to not standardize, especially because it introduces compat issues for Chrome, as sites that use the existance of that property to detect if the browser is mobile safari.

installed-yes and installed-no is based on whether the app is installed, not on the display mode. Likely apple will not expose installed-yes if you are in a browser tab, as they do not want to reveal if your app is installed, as they have isolation. Chrome will likely have 'yes' there. So the decision there is up to the user agent. BUT - both user agents will definitely have 'yes' for 'installed' when the document is in an app window, regardless of app display mode

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/1092#issuecomment-3524876574
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/manifest/issues/1092/3524876574@github.com>

Received on Thursday, 13 November 2025 02:30:39 UTC