@onekeyfe/react-native-cloud-fs 2.6.3 → 2.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -393,7 +393,8 @@ public class RNCloudFsModule extends ReactContextBaseJavaModule implements Googl
|
|
|
393
393
|
GoogleSignInOptions signInOptions =
|
|
394
394
|
new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
|
|
395
395
|
.requestEmail()
|
|
396
|
-
.requestScopes(new Scope(DriveScopes.DRIVE_FILE))
|
|
396
|
+
// .requestScopes(new Scope(DriveScopes.DRIVE_FILE))
|
|
397
|
+
.requestScopes(new Scope(DriveScopes.DRIVE_APPDATA))
|
|
397
398
|
.build();
|
|
398
399
|
GoogleSignInClient client = GoogleSignIn.getClient(this.reactContext, signInOptions);
|
|
399
400
|
|
|
@@ -426,7 +427,8 @@ public class RNCloudFsModule extends ReactContextBaseJavaModule implements Googl
|
|
|
426
427
|
GoogleSignInOptions signInOptions =
|
|
427
428
|
new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
|
|
428
429
|
.requestEmail()
|
|
429
|
-
.requestScopes(new Scope(DriveScopes.DRIVE_FILE))
|
|
430
|
+
// .requestScopes(new Scope(DriveScopes.DRIVE_FILE))
|
|
431
|
+
.requestScopes(new Scope(DriveScopes.DRIVE_APPDATA))
|
|
430
432
|
.build();
|
|
431
433
|
GoogleSignInClient client = GoogleSignIn.getClient(this.reactContext, signInOptions);
|
|
432
434
|
mDriveServiceHelper = null;
|