Skip to content

Commit

Permalink
docs: fixed quick start
Browse files Browse the repository at this point in the history
  • Loading branch information
mfkrause committed Sep 27, 2024
1 parent a849db8 commit f8da08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const App = () => {
const cloudAvailable = useIsCloudAvailable();

React.useEffect(() => {
if (CloudStorage.getProvider() === CloudStorageProvider.GoogleDrive) {
if (CloudStorage.getDefaultProvider() === CloudStorageProvider.GoogleDrive) {
// get access token via @react-native-google-signin/google-signin or similar
CloudStorage.setProviderOptions({ accessToken: 'some-access-token' });
}
Expand Down

0 comments on commit f8da08a

Please sign in to comment.