|
@@ -120,16 +120,16 @@ namespace cn.sharesdk.unity3d
|
|
|
|
|
|
public class QZone : DevInfo
|
|
public class QZone : DevInfo
|
|
{
|
|
{
|
|
- #if UNITY_ANDROID
|
|
|
|
|
|
+#if UNITY_ANDROID
|
|
public string SortId = "1";
|
|
public string SortId = "1";
|
|
public const int type = (int) PlatformType.QZone;
|
|
public const int type = (int) PlatformType.QZone;
|
|
- public string AppId = ShareSDK.QQAppKey;
|
|
|
|
- public string AppKey = ShareSDK.QQAppSecrete;
|
|
|
|
|
|
+ public string AppId = ShareSDK.QQZoneAppKey;
|
|
|
|
+ public string AppKey = ShareSDK.QQZoneAppSecreteForAndroid;
|
|
public bool ShareByAppClient = true;
|
|
public bool ShareByAppClient = true;
|
|
#elif UNITY_IPHONE
|
|
#elif UNITY_IPHONE
|
|
public const int type = (int) PlatformType.QZone;
|
|
public const int type = (int) PlatformType.QZone;
|
|
- public string app_id = ShareSDK.QQAppKey;
|
|
|
|
- public string app_key = ShareSDK.QQAppSecrete;
|
|
|
|
|
|
+ public string app_id = ShareSDK.QQZoneAppKey;
|
|
|
|
+ public string app_key = ShareSDK.QQZoneAppSecreteForIOS;
|
|
public string auth_type = "both"; //can pass "both","sso",or "web"
|
|
public string auth_type = "both"; //can pass "both","sso",or "web"
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
@@ -141,13 +141,13 @@ namespace cn.sharesdk.unity3d
|
|
#if UNITY_ANDROID
|
|
#if UNITY_ANDROID
|
|
public string SortId = "5";
|
|
public string SortId = "5";
|
|
public const int type = (int) PlatformType.WeChat;
|
|
public const int type = (int) PlatformType.WeChat;
|
|
- public string AppId = ShareSDK.WeChatAppKey;
|
|
|
|
- public string AppSecret = ShareSDK.WeChatSecrete;
|
|
|
|
|
|
+ //public string AppId = ShareSDK.WeChatAppKey;
|
|
|
|
+ //public string AppSecret = ShareSDK.WeChatSecrete;
|
|
public bool BypassApproval = true;
|
|
public bool BypassApproval = true;
|
|
#elif UNITY_IPHONE
|
|
#elif UNITY_IPHONE
|
|
public const int type = (int) PlatformType.WeChat;
|
|
public const int type = (int) PlatformType.WeChat;
|
|
- public string app_id = ShareSDK.WeChatAppKey;
|
|
|
|
- public string app_secret = ShareSDK.WeChatSecrete;
|
|
|
|
|
|
+ //public string app_id = ShareSDK.WeChatAppKey;
|
|
|
|
+ //public string app_secret = ShareSDK.WeChatSecrete;
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|
|
@@ -156,13 +156,13 @@ namespace cn.sharesdk.unity3d
|
|
#if UNITY_ANDROID
|
|
#if UNITY_ANDROID
|
|
public string SortId = "6";
|
|
public string SortId = "6";
|
|
public const int type = (int) PlatformType.WeChatMoments;
|
|
public const int type = (int) PlatformType.WeChatMoments;
|
|
- public string AppId = ShareSDK.WeChatAppKey;
|
|
|
|
- public string AppSecret = ShareSDK.WeChatSecrete;
|
|
|
|
|
|
+ //public string AppId = ShareSDK.WeChatAppKey;
|
|
|
|
+ //public string AppSecret = ShareSDK.WeChatSecrete;
|
|
public bool BypassApproval = false;
|
|
public bool BypassApproval = false;
|
|
#elif UNITY_IPHONE
|
|
#elif UNITY_IPHONE
|
|
public const int type = (int) PlatformType.WeChatMoments;
|
|
public const int type = (int) PlatformType.WeChatMoments;
|
|
- public string app_id = ShareSDK.WeChatAppKey;
|
|
|
|
- public string app_secret = ShareSDK.WeChatSecrete;
|
|
|
|
|
|
+ //public string app_id = ShareSDK.WeChatAppKey;
|
|
|
|
+ //public string app_secret = ShareSDK.WeChatSecrete;
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|
|
@@ -367,13 +367,13 @@ namespace cn.sharesdk.unity3d
|
|
#if UNITY_ANDROID
|
|
#if UNITY_ANDROID
|
|
public string SortId = "19";
|
|
public string SortId = "19";
|
|
public const int type = (int) PlatformType.GooglePlus;
|
|
public const int type = (int) PlatformType.GooglePlus;
|
|
- public string ClientID = ShareSDK.GoogleAppKey;
|
|
|
|
|
|
+ //public string ClientID = ShareSDK.GoogleAppKey;
|
|
public string RedirectUrl = "http://localhost";
|
|
public string RedirectUrl = "http://localhost";
|
|
public bool ShareByAppClient = false;
|
|
public bool ShareByAppClient = false;
|
|
#elif UNITY_IPHONE
|
|
#elif UNITY_IPHONE
|
|
public const int type = (int) PlatformType.GooglePlus;
|
|
public const int type = (int) PlatformType.GooglePlus;
|
|
- public string client_id = ShareSDK.GoogleAppKey;
|
|
|
|
- public string client_secret = ShareSDK.GoogleAppSecrete;
|
|
|
|
|
|
+ //public string client_id = ShareSDK.GoogleAppKey;
|
|
|
|
+ //public string client_secret = ShareSDK.GoogleAppSecrete;
|
|
public string redirect_uri = "http://localhost";
|
|
public string redirect_uri = "http://localhost";
|
|
public string auth_type = "both"; //can pass "both","sso",or "web"
|
|
public string auth_type = "both"; //can pass "both","sso",or "web"
|
|
#endif
|
|
#endif
|