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 19a890d commit e9c923bCopy full SHA for e9c923b
GoogleSignInPlugin/Assets/GoogleSignIn/Impl/NativeFuture.cs
@@ -72,7 +72,9 @@ public GoogleSignInUser Result {
72
string url = OutParamsToString((out_string, out_size) =>
73
GoogleSignInImpl.GoogleSignIn_GetImageUrl(userPtr, out_string,
74
out_size));
75
- user.ImageUrl = new System.Uri(url);
+ if (url.Length > 0) {
76
+ user.ImageUrl = new System.Uri(url);
77
+ }
78
79
user.UserId = OutParamsToString((out_string, out_size) =>
80
GoogleSignInImpl.GoogleSignIn_GetUserId(userPtr, out_string,
@@ -97,4 +99,4 @@ public GoogleSignInStatusCode Status {
97
99
}
98
100
101
-}
102
+}
0 commit comments