Skip to content

Commit

Permalink
docs: minor documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mfkrause committed Sep 28, 2024
1 parent 3688381 commit 3700a18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/guides/using-multiple-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ sidebar_position: 1

# Using multiple Cloud Storage Providers

By default, the [`CloudStorage`](../api/CloudStorage) API will use a default storage provider based on the platform (CloudKit for iOS, Google Drive for all other platforms). If you want to only use once specific provider, you can globally override this by calling [`CloudStorage.setProvider()`](../api/CloudStorage#setproviderprovider) with the provider you want to use. The default static instance (`CloudStorage`) will then use the specified provider.
By default, the [`CloudStorage`](../api/CloudStorage) API will use a default storage provider based on the platform (CloudKit for iOS, Google Drive for all other platforms).

If you want to use _multiple_ providers in your app, you can get a new instance of the `CloudStorage` API and specify a provider in the constructor. This can be useful if you want to provide multiple cloud backup options to the user at the same time, allowing him to backup his files to iCloud and Google Drive simultaneously.
If you want to use _one specific provider_ or _multiple providers_ in your app, you can get a new instance of the `CloudStorage` API and specify a provider in the constructor. This can be useful if you want to provide multiple cloud backup options to the user at the same time, allowing him to backup his files to iCloud and Google Drive simultaneously, or if you want to use one provider (i.e. Google Drive) on all platforms.

## Example

Expand Down

0 comments on commit 3700a18

Please sign in to comment.