@embrace-io/react-native
Version:
A React Native wrapper for the Embrace SDK
16 lines (15 loc) • 689 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EmbraceManagerModule = void 0;
const react_native_1 = require("react-native");
const LINKING_ERROR = `The package '@embrace-io/react-native' doesn't seem to be linked. Make sure: \n\n` +
react_native_1.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";
exports.EmbraceManagerModule = react_native_1.NativeModules.EmbraceManager
? react_native_1.NativeModules.EmbraceManager
: new Proxy({}, {
get() {
throw new Error(LINKING_ERROR);
},
});