File tree Expand file tree Collapse file tree
lib/common/usecase/authentication Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Future<void> signInWithGoogleUseCase(Ref ref) async {
1818 final googleSignIn = GoogleSignIn .instance;
1919
2020 // Subtitle: Step 1 - Logout from Current Google account if any
21- await googleSignIn.disconnect ();
21+ await googleSignIn.signOut ();
2222
2323 // Subtitle: Step 2 - Authenticate user with Google
2424 final account = await googleSignIn.authenticate ();
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Future<void> signOutUseCase(Ref ref) async {
1616
1717 // Title: Try to sign out from Google - if any
1818 try {
19- await GoogleSignIn .instance.disconnect ();
19+ await GoogleSignIn .instance.signOut ();
2020 } on MissingPluginException catch (error) {
2121 Flogger .e ('[Authentication] Sign Out MissingPluginException $error ' );
2222 } on PlatformException catch (error) {
You can’t perform that action at this time.
0 commit comments