UNPKG

react-native-passkey

Version:
11 lines 530 B
import { NativeModules, Platform } from 'react-native'; const LINKING_ERROR = "The package 'react-native-passkey' doesn't seem to be linked. Make sure: \n\n" + Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo managed workflow\n'; export const NativePasskey = NativeModules.Passkey ? NativeModules.Passkey : new Proxy({}, { get() { throw new Error(LINKING_ERROR); } }); //# sourceMappingURL=NativePasskey.js.map