react-native-cloud-store
Version:
A react-native module for cloud operation
20 lines (19 loc) • 829 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.eventEmitter = exports.default = void 0;
var _reactNative = require("react-native");
const LINKING_ERROR = `The package 'react-native-cloud-store' 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 managed workflow\n';
const CloudStore = _reactNative.NativeModules.CloudStoreModule;
if (_reactNative.Platform.OS === 'ios' && !CloudStore) {
throw new Error(LINKING_ERROR);
}
var _default = CloudStore;
exports.default = _default;
const eventEmitter = new _reactNative.NativeEventEmitter(CloudStore);
exports.eventEmitter = eventEmitter;
//# sourceMappingURL=module.js.map