MCPcopy Create free account
hub / github.com/dailydotdev/apps / messageHandlerExists

Function messageHandlerExists

packages/shared/src/lib/ios.ts:32–34  ·  view source on GitHub ↗
(handler: WebKitMessageHandlers)

Source from the content-addressed store, hash-verified

30};
31
32export const messageHandlerExists = (handler: WebKitMessageHandlers): boolean =>
33 isIOSNative() &&
34 !!(globalThis as IOSWebkitGlobal)?.webkit?.messageHandlers?.[handler];
35
36export const iOSSupportsPlusPurchase = (): boolean =>
37 isIOSNative() &&

Callers 8

isNativeAuthSupportedFunction · 0.90
getApplePricingFunction · 0.90
InternalAppFunction · 0.90
PixelsProviderFunction · 0.90
iOSSupportsPlusPurchaseFunction · 0.85
iOSSupportsCoresPurchaseFunction · 0.85
iOSSupportsAppIconChangeFunction · 0.85
postWebKitMessageFunction · 0.85

Calls 1

isIOSNativeFunction · 0.90

Tested by

no test coverage detected