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

Function messageHandlerExists

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

Source from the content-addressed store, hash-verified

40};
41
42export const messageHandlerExists = (handler: WebKitMessageHandlers): boolean =>
43 isIOSNative() &&
44 !!(globalThis as IOSWebkitGlobal)?.webkit?.messageHandlers?.[handler];
45
46export const iOSSupportsPlusPurchase = (): boolean =>
47 isIOSNative() &&

Callers 11

hasNativeHandlerFunction · 0.90
isNativeAuthSupportedFunction · 0.90
getApplePricingFunction · 0.90
InternalAppFunction · 0.90
PixelsProviderFunction · 0.90
iOSSupportsPlusPurchaseFunction · 0.85
iOSSupportsCoresPurchaseFunction · 0.85
iOSSupportsAppIconChangeFunction · 0.85
postWebKitMessageFunction · 0.85
requestIOSTrackingFunction · 0.85
iOSSupportsReviewFunction · 0.85

Calls 1

isIOSNativeFunction · 0.90

Tested by

no test coverage detected