From a26564641f6341bbd90750a7faf3bb56cb52cdad Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 22 Mar 2021 00:06:45 +0200 Subject: [PATCH] OAuth --- lib/utils/oauth.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/utils/oauth.dart b/lib/utils/oauth.dart index 9f6c5b786..e7a4c39f7 100644 --- a/lib/utils/oauth.dart +++ b/lib/utils/oauth.dart @@ -48,9 +48,8 @@ class GoogleOAuth { static Future grantOfflineAccess( Function(String, String, String) callback) async { - var getScope = await _googleSignIn - .requestScopes(['https://www.googleapis.com/auth/gmail.send']); - print('## GET SCOPE: $getScope'); + //final getScope = await _googleSignIn.requestScopes(['https://www.googleapis.com/auth/gmail.send']); + //print('## GET SCOPE: $getScope'); var account = await _googleSignIn.grantOfflineAccess(); if (account != null) { account.authentication.then((GoogleSignInAuthentication value) {