When the PWA is launched, display mode needs to be detected to determine if it was launched inside the browser or as a standalone PWA. Chrome 105 seems to break any form of display mode reporting as both methods being used no longer work: via js (window.matchMedia("(display-mode: standalone)").matches) and css ((display-mode: standalone))
When the PWA is launched, display mode needs to be detected to determine if it was launched inside the browser or as a standalone PWA. Chrome 105 seems to break any form of display mode reporting as both methods being used no longer work: via js (
window.matchMedia("(display-mode: standalone)").matches
) and css ((display-mode: standalone)
)