Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ update
Function
update
packages/shared/src/hooks/utils/useIsStandaloneApp.ts:15–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
14
useEffect(() => {
15
const
update = () => setIsStandalone(isPWA() || isIOSNative());
16
update();
17
18
const
media = globalThis.matchMedia?.(standaloneQuery);
Callers
1
useIsStandaloneApp
Function · 0.70
Calls
2
isPWA
Function · 0.90
isIOSNative
Function · 0.90
Tested by
no test coverage detected