React Native Cloud Storage
Interfaces

CloudStorageProviderOptions

Properties

PropertyTypeDescription
googledriveobject-
googledrive.accessToken?string | nullThe access token to use for Google Drive operations.
googledrive.kvPollInterval?number | nullThe polling interval in milliseconds for key-value external-change detection. Polling requires a finite value of at least 1 ms. It is off for null, undefined, non-finite, or non-positive values.
googledrive.kvStrictLimits?booleanWhether to enforce iCloud-equivalent limits for Google Drive key-value storage. Defaults to true.
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