React Native Cloud Storage
Interfaces

CloudStorageProviderOptions

Properties

PropertyTypeDescription
googledriveobject-
googledrive.accessToken?string | nullThe access token to use for Google Drive operations.
googledrive.scope?CloudStorageScopeThe directory scope to use for Google Drive operations. Defaults to 'app_data'.
googledrive.strictFilenames?booleanWhether or not to throw an error if multiple files with the same filename are found. Defaults to false.
googledrive.timeout?numberThe timeout in milliseconds after which to cancel an API request. Defaults to 3000.
icloudobject-
icloud.documentsMode?ICloudDocumentsModeThe directory mode to use for CloudStorageScope.Documents. icloud uses the user-facing iCloud Documents directory, while legacy_sandbox uses the local app sandbox Documents directory. Defaults to icloud.
icloud.scope?CloudStorageScopeThe directory scope to use for iCloud operations. Defaults to 'app_data'.

On this page