UNPKG

stripe-react-native-apple-pay

Version:

React Native wrapper around Stripe Apple Pay

12 lines 566 B
import { NativeModules, Platform } from 'react-native'; const LINKING_ERROR = `The package 'stripe-react-native-apple-pay' 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 Go\n'; const StripeApplePay = NativeModules.StripeApplePay ? NativeModules.StripeApplePay : new Proxy({}, { get() { throw new Error(LINKING_ERROR); } }); export default StripeApplePay; //# sourceMappingURL=NativeStripeSdk.js.map