UNPKG

universal-portability

Version:

Universal Portability Framework for Web3 Applications

19 lines 574 B
/** * Platform-specific utilities for handling differences between web and React Native */ /** * Check if the current environment is React Native */ export declare const isReactNative: () => boolean; /** * Platform-safe implementation of postMessage */ export declare const postMessageSafe: (message: any, target?: any, webViewRef?: React.RefObject<any>) => void; /** * Platform-safe base64 encoding and decoding */ export declare const base64: { encode: (input: string) => string; decode: (input: string) => string; }; //# sourceMappingURL=platform.d.ts.map