klaviyo-react-native-sdk
Version:
Official Klaviyo React Native SDK
17 lines (16 loc) • 736 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.KlaviyoReactNativeSdk = void 0;
var _reactNative = require("react-native");
const LINKING_ERROR = `The package 'klaviyo-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 KlaviyoReactNativeSdk = exports.KlaviyoReactNativeSdk = _reactNative.NativeModules.KlaviyoReactNativeSdk ? _reactNative.NativeModules.KlaviyoReactNativeSdk : new Proxy({}, {
get() {
throw new Error(LINKING_ERROR);
}
});
//# sourceMappingURL=KlaviyoReactNativeSdk.js.map