We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ac175 commit 9aa40abCopy full SHA for 9aa40ab
GoogleSignIn/Impl/GoogleSignInImpl.cs
@@ -136,8 +136,12 @@ public SignInListener() : base("com.google.googlesignin.IListener")
136
137
public void OnResult(int result, AndroidJavaObject acct)
138
{
139
- Debug.Log("googlesignin.IListener : " + acct.Call<string>("toString"));
140
- Debug.Log("ID : " + acct.Call<string>("getId"));
+ if(acct != null)
+ {
141
+ Debug.Log("googlesignin.IListener : " + acct.Call<string>("toString"));
142
+ Debug.Log("ID : " + acct.Call<string>("getId"));
143
+ }
144
+ else Debug.LogError("Should not get null account");
145
}
146
147
0 commit comments