react-native-cloud-storage
Version:
☁️ Save to & read from iCloud and Google Drive using React Native
25 lines (24 loc) • 935 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.LINKING_ERROR = exports.DEFAULT_PROVIDER_OPTIONS = void 0;
var _reactNative = require("react-native");
var _main = require("../types/main");
const LINKING_ERROR = exports.LINKING_ERROR = `The package 'react-native-cloud-storage' 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 DEFAULT_PROVIDER_OPTIONS = exports.DEFAULT_PROVIDER_OPTIONS = {
[_main.CloudStorageProvider.ICloud]: {
scope: _main.CloudStorageScope.AppData,
documentsMode: 'icloud'
},
[_main.CloudStorageProvider.GoogleDrive]: {
scope: _main.CloudStorageScope.AppData,
accessToken: null,
strictFilenames: false,
timeout: 3000
}
};
//# sourceMappingURL=constants.js.map