@onekeyfe/react-native-cloud-fs 2.6.4 → 2.6.5
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,8 +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
|
-
|
|
397
|
-
.requestScopes(new Scope(DriveScopes.DRIVE_APPDATA))
|
|
396
|
+
.requestScopes(new Scope(DriveScopes.DRIVE_FILE))
|
|
397
|
+
// .requestScopes(new Scope(DriveScopes.DRIVE_APPDATA))
|
|
398
398
|
.build();
|
|
399
399
|
GoogleSignInClient client = GoogleSignIn.getClient(this.reactContext, signInOptions);
|
|
400
400
|
|
|
@@ -427,8 +427,8 @@ public class RNCloudFsModule extends ReactContextBaseJavaModule implements Googl
|
|
|
427
427
|
GoogleSignInOptions signInOptions =
|
|
428
428
|
new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
|
|
429
429
|
.requestEmail()
|
|
430
|
-
|
|
431
|
-
.requestScopes(new Scope(DriveScopes.DRIVE_APPDATA))
|
|
430
|
+
.requestScopes(new Scope(DriveScopes.DRIVE_FILE))
|
|
431
|
+
// .requestScopes(new Scope(DriveScopes.DRIVE_APPDATA))
|
|
432
432
|
.build();
|
|
433
433
|
GoogleSignInClient client = GoogleSignIn.getClient(this.reactContext, signInOptions);
|
|
434
434
|
mDriveServiceHelper = null;
|