@amplitude/plugin-session-replay-react-native
Version:
Amplitude Session Replay plugin for React Native
17 lines (16 loc) • 794 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.PluginSessionReplayReactNative = void 0;
var _reactNative = require("react-native");
const LINKING_ERROR = `The package '@amplitude/plugin-session-replay-react-native' 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 PluginSessionReplayReactNative = exports.PluginSessionReplayReactNative = _reactNative.NativeModules.PluginSessionReplayReactNative ? _reactNative.NativeModules.PluginSessionReplayReactNative : new Proxy({}, {
get() {
throw new Error(LINKING_ERROR);
}
});
//# sourceMappingURL=native-module.js.map