MCPcopy 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

useIsStandaloneAppFunction · 0.70

Calls 2

isPWAFunction · 0.90
isIOSNativeFunction · 0.90

Tested by

no test coverage detected