Skip to content

Commit 62ac175

Browse files
authored
Update GoogleSignInImpl.cs
Fix signOut and disconnect
1 parent 2640b94 commit 62ac175

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GoogleSignIn/Impl/GoogleSignInImpl.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ static IntPtr GoogleSignIn_SignInSilently(HandleRef self)
153153
return GoogleSignInHelper.CallStatic<AndroidJavaObject>("signInSilently",parentActivity).GetRawObject();
154154
}
155155

156-
static void GoogleSignIn_Signout(HandleRef self) => GoogleSignInHelper.CallStatic("signOut",self.ToAndroidJavaObject());
156+
static void GoogleSignIn_Signout(HandleRef self) => GoogleSignInHelper.CallStatic("signOut",parentActivity);
157157

158-
static void GoogleSignIn_Disconnect(HandleRef self) => GoogleSignInHelper.CallStatic("disconnect",self.ToAndroidJavaObject());
158+
static void GoogleSignIn_Disconnect(HandleRef self) => GoogleSignInHelper.CallStatic("disconnect",parentActivity);
159159

160160
internal static void GoogleSignIn_DisposeFuture(HandleRef self) => self.ToAndroidJavaObject().Dispose();
161161

0 commit comments

Comments
 (0)