rn-amazon-payment-services
Version:
Amazon Payment Services Sdk react native package
18 lines (17 loc) • 830 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.LINKING_ERROR = void 0;
var _reactNative = require("react-native");
const LINKING_ERROR = exports.LINKING_ERROR = `The package 'rn-amazon-payment-services' 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 managed workflow\n';
const RnAmazonPaymentServiceSdk = _reactNative.NativeModules.RnAmazonPaymentServiceSdk ? _reactNative.NativeModules.RnAmazonPaymentServiceSdk : new Proxy({}, {
get() {
throw new Error(LINKING_ERROR);
}
});
var _default = exports.default = RnAmazonPaymentServiceSdk;
//# sourceMappingURL=RnAmazonPaymentServiceSdk.js.map