UNPKG

@azzapp/react-native-skia-video

Version:
19 lines (18 loc) 923 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _reactNative = require("react-native"); // @ts-expect-error __turboModuleProxy is not yet added to the type definitions const isTurboModuleEnabled = global.__turboModuleProxy != null; const ReactNativeSkiaVideoModule = isTurboModuleEnabled ? require('./NativeReactNativeSkiaVideo').default : _reactNative.NativeModules.ReactNativeSkiaVideo; if (!ReactNativeSkiaVideoModule) { throw new Error(`The package '@azzapp/react-native-skia-video' 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'); } ReactNativeSkiaVideoModule.install(); var _default = exports.default = global.RNSkiaVideo; //# sourceMappingURL=RNSkiaVideoModule.js.map