- From: Ben Francis <notifications@github.com>
- Date: Thu, 13 Nov 2025 09:13:29 -0800
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/manifest/issues/1092/3528847385@github.com>
benfrancis left a comment (w3c/manifest#1092) @dmurph wrote: > 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. 🤦♂️ > both user agents will definitely have 'yes' for 'installed' when the document is in an app window, regardless of app display mode What does "in an app window" mean here? An application context (browsing context with a manifest applied)? I suppose if the document is rendered inside an application context that at least implies the app was installed at some point (though it's possible the app was uninstalled after the application context was created), so that would give the right answer _most_ of the time. I still think a media query is the wrong choice for detecting installed state, because it has nothing to do with presentation, but at least if installed state is considered orthogonal to current display mode that addresses my main concern about conflating the two. If Safari returns installed-no if the app is installed but the document is open in a browser tab then the feature is flawed IMO, because apps will just keep showing an app installation banner even if the app is already installed. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/manifest/issues/1092#issuecomment-3528847385 You are receiving this because you are subscribed to this thread. Message ID: <w3c/manifest/issues/1092/3528847385@github.com>
Received on Thursday, 13 November 2025 17:13:33 UTC