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

Function setNativeHandlers

packages/shared/src/lib/nativeBridge.ts:62–71  ·  view source on GitHub ↗
(handlers: NativeHandlers | null)

Source from the content-addressed store, hash-verified

60};
61
62export const setNativeHandlers = (handlers: NativeHandlers | null): void => {
63 const nativeGlobal = globalThis as NativeGlobal;
64
65 if (handlers) {
66 nativeGlobal.dailyNative = handlers;
67 return;
68 }
69
70 delete nativeGlobal.dailyNative;
71};
72
73export enum HapticStyle {
74 Light = 'light',

Callers 1

useNativeBridgeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected