diff --git a/source/PluginDev/Assets/GooglePlayGames/Platforms/Android/AndroidClient.cs b/source/PluginDev/Assets/GooglePlayGames/Platforms/Android/AndroidClient.cs index d028b91b7..b066093fd 100644 --- a/source/PluginDev/Assets/GooglePlayGames/Platforms/Android/AndroidClient.cs +++ b/source/PluginDev/Assets/GooglePlayGames/Platforms/Android/AndroidClient.cs @@ -161,7 +161,8 @@ public void Authenticate(Action callback, bool silent) } mAuthState = AuthState.Authenticated; - InvokeCallbackOnGameThread(callback, true, "Authentication succeed"); + InvokeCallbackOnGameThread(callback, true, "Authentication succeeded"); + GooglePlayGames.OurUtils.Logger.d("Authentication succeeded"); try { using (var activationHint = @@ -220,6 +221,7 @@ public void Authenticate(Action callback, bool silent) { SignOut(); InvokeCallbackOnGameThread(callback, false, "Authentication failed"); + GooglePlayGames.OurUtils.Logger.d("Authentication failed"); } } ); @@ -233,14 +235,17 @@ public void Authenticate(Action callback, bool silent) if (result == 16 /* CommonStatusCodes.CANCELED */) { InvokeCallbackOnGameThread(callback, false, "Authentication canceled"); + GooglePlayGames.OurUtils.Logger.d("Authentication canceled"); } else if (result == 8 /* CommonStatusCodes.DEVELOPER_ERROR */) { InvokeCallbackOnGameThread(callback, false, "Authentication failed - developer error"); + GooglePlayGames.OurUtils.Logger.d("Authentication failed - developer error"); } else { InvokeCallbackOnGameThread(callback, false, "Authentication failed"); + GooglePlayGames.OurUtils.Logger.d("Authentication failed"); } } } @@ -1148,4 +1153,4 @@ private AndroidJavaObject getVideosClient() } } } -#endif \ No newline at end of file +#endif