diff --git a/Unity3D-ShareSDK/Assets/Demo.cs b/Unity3D-ShareSDK/Assets/Demo.cs index 245611b0d..80fbe0e13 100755 --- a/Unity3D-ShareSDK/Assets/Demo.cs +++ b/Unity3D-ShareSDK/Assets/Demo.cs @@ -206,11 +206,15 @@ void OnAuthResultHandler(int reqID, ResponseState state, PlatformType type, Hash { if (state == ResponseState.Success) { + #if UNITY_ANDROID + print ("authorize success !" + "Platform :" + type); + #elif UNITY_IPHONE if (result.Count > 0) { print ("authorize success !" + "Platform :" + type + "result:" + MiniJSON.jsonEncode(result)); } else { print ("authorize success !" + "Platform :" + type); } + #endif } else if (state == ResponseState.Fail) {