connect-react-native-sdk
Version:
React Native SDK for Mastercard Open Finance Connect
17 lines (16 loc) • 790 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ConnectReactNativeSdk = void 0;
exports.checkLink = checkLink;
var _reactNative = require("react-native");
const LINKING_ERROR = `The package 'connect-react-native-sdk' 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 ConnectReactNativeSdk = exports.ConnectReactNativeSdk = _reactNative.NativeModules.ConnectReactNativeSdk ? _reactNative.NativeModules.ConnectReactNativeSdk : new Error(LINKING_ERROR);
function checkLink(url) {
return ConnectReactNativeSdk?.checklink(url);
}
//# sourceMappingURL=nativeModule.js.map
;