react-native-cloud-storage
Version:
☁️ Save to & read from iCloud and Google Drive using React Native
21 lines (20 loc) • 753 B
JavaScript
;
import { Platform } from 'react-native';
import { CloudStorageProvider, CloudStorageScope } from '../types/main';
export const LINKING_ERROR = `The package 'react-native-cloud-storage' 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';
export const DEFAULT_PROVIDER_OPTIONS = {
[CloudStorageProvider.ICloud]: {
scope: CloudStorageScope.AppData,
documentsMode: 'icloud'
},
[CloudStorageProvider.GoogleDrive]: {
scope: CloudStorageScope.AppData,
accessToken: null,
strictFilenames: false,
timeout: 3000
}
};
//# sourceMappingURL=constants.js.map