stripe-react-native-apple-pay
Version:
React Native wrapper around Stripe Apple Pay
18 lines (17 loc) • 717 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
const LINKING_ERROR = `The package 'stripe-react-native-apple-pay' doesn't seem to be linked. Make sure: \n\n` + _reactNative.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 = _reactNative.NativeModules.StripeApplePay ? _reactNative.NativeModules.StripeApplePay : new Proxy({}, {
get() {
throw new Error(LINKING_ERROR);
}
});
var _default = exports.default = StripeApplePay;
//# sourceMappingURL=NativeStripeSdk.js.map