This commit is contained in:
2026-06-29 20:43:13 +03:00
parent 19db4fe688
commit 64a3f4e34e
24 changed files with 1154 additions and 152 deletions
+4 -1
View File
@@ -4,7 +4,10 @@ import 'package:google_sign_in/google_sign_in.dart';
class GoogleAuthService {
final GoogleSignIn _googleSignIn;
GoogleAuthService() : _googleSignIn = GoogleSignIn(scopes: ['email']);
GoogleAuthService() : _googleSignIn = GoogleSignIn(scopes: [
'email',
'https://www.googleapis.com/auth/drive.appdata',
]);
GoogleSignInAccount? get currentUser => _googleSignIn.currentUser;