UNPKG

mychips-react-sdk

Version:
15 lines 705 B
import { NativeModules, Platform } from 'react-native'; const LINKING_ERROR = `The package 'mychips-react-sdk' doesn't seem to be linked. Make sure: \n\n` + 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 MychipsReactSdk = NativeModules.MychipsReactSdk ? NativeModules.MychipsReactSdk : new Proxy({}, { get() { throw new Error(LINKING_ERROR); } }); export { MCOfferwallSDK } from './MCOfferwallSDK'; export { MCOfferwallView } from './view/MCOfferwallView'; export { RewardDTO } from './domain/RewardDTO'; export default MychipsReactSdk; //# sourceMappingURL=index.js.map