react-native-passkey
Version:
Passkey implementation for React Native
11 lines • 530 B
JavaScript
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