[M] tw android
This commit is contained in:
@@ -196,9 +196,9 @@ namespace tysdk.editor
|
||||
|
||||
//Facebook
|
||||
{
|
||||
string faceBookAppId = "162066986963808";
|
||||
string faceBookDisPlayname = "arkgame";
|
||||
string facebookClientToken = "5fe59b0d985ad7acb51f48081e69d45b";
|
||||
string faceBookAppId = "2262594684272912";
|
||||
string faceBookDisPlayname = "fb2262594684272912";
|
||||
string facebookClientToken = "123be126bb573f87cd96b0fd67274329";
|
||||
PlistElementDict facebookDic = urlTypesArray.AddDict();
|
||||
PlistElementArray fbSchmes = facebookDic.CreateArray("CFBundleURLSchemes");
|
||||
|
||||
|
||||
@@ -2,24 +2,18 @@
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CLIENT_ID</key>
|
||||
<string>481260393117-88n0v3ht8ashhk0r5ri47hced7o5qj62.apps.googleusercontent.com</string>
|
||||
<key>REVERSED_CLIENT_ID</key>
|
||||
<string>com.googleusercontent.apps.481260393117-88n0v3ht8ashhk0r5ri47hced7o5qj62</string>
|
||||
<key>ANDROID_CLIENT_ID</key>
|
||||
<string>481260393117-jhq50gh6n2p6pat1bjhcgj3th1ke19jg.apps.googleusercontent.com</string>
|
||||
<key>API_KEY</key>
|
||||
<string>AIzaSyDQrn5AeVA-T0PV22PtuUc_GrpK-M5cl-k</string>
|
||||
<string>AIzaSyAafu4s9EeILJctHwN-yd3lF7z-drQibxI</string>
|
||||
<key>GCM_SENDER_ID</key>
|
||||
<string>481260393117</string>
|
||||
<string>679771497905</string>
|
||||
<key>PLIST_VERSION</key>
|
||||
<string>1</string>
|
||||
<key>BUNDLE_ID</key>
|
||||
<string>com.arkgame.ft</string>
|
||||
<string>com.arkgame.ft.tw</string>
|
||||
<key>PROJECT_ID</key>
|
||||
<string>fishing-travel</string>
|
||||
<string>fishing-travel-tw</string>
|
||||
<key>STORAGE_BUCKET</key>
|
||||
<string>fishing-travel.appspot.com</string>
|
||||
<string>fishing-travel-tw.firebasestorage.app</string>
|
||||
<key>IS_ADS_ENABLED</key>
|
||||
<false></false>
|
||||
<key>IS_ANALYTICS_ENABLED</key>
|
||||
@@ -31,6 +25,6 @@
|
||||
<key>IS_SIGNIN_ENABLED</key>
|
||||
<true></true>
|
||||
<key>GOOGLE_APP_ID</key>
|
||||
<string>1:481260393117:ios:120b4fb634fae8d007fa74</string>
|
||||
<string>1:679771497905:ios:728d18a309ca5164210990</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -1,41 +1,33 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "481260393117",
|
||||
"project_id": "fishing-travel",
|
||||
"storage_bucket": "fishing-travel.appspot.com"
|
||||
"project_number": "679771497905",
|
||||
"project_id": "fishing-travel-tw",
|
||||
"storage_bucket": "fishing-travel-tw.firebasestorage.app"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:481260393117:android:4e8da50d0ee3b5c207fa74",
|
||||
"mobilesdk_app_id": "1:679771497905:android:062e2b39ee6613ad210990",
|
||||
"android_client_info": {
|
||||
"package_name": "com.arkgame.ft"
|
||||
"package_name": "com.arkgame.ft.tw"
|
||||
}
|
||||
},
|
||||
"oauth_client": [
|
||||
{
|
||||
"client_id": "481260393117-jhq50gh6n2p6pat1bjhcgj3th1ke19jg.apps.googleusercontent.com",
|
||||
"client_type": 1,
|
||||
"android_info": {
|
||||
"package_name": "com.arkgame.ft",
|
||||
"certificate_hash": "c9cf2f5eaba383cbdd5b968d0342c49afabc32a2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"client_id": "481260393117-0ah0ekk7lu5r44ko2uqlfoebgak8dmhj.apps.googleusercontent.com",
|
||||
"client_id": "679771497905-9d8ht9dnuhbn70p72hhc5ld29lfbqhpr.apps.googleusercontent.com",
|
||||
"client_type": 3
|
||||
}
|
||||
],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyBU6gAwu0O28jg7-TRd_Vx2YMCH_Baa8Bw"
|
||||
"current_key": "AIzaSyCvYkrDG0tMViVdQ28VGQJ1NpgwkROm_9U"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": [
|
||||
{
|
||||
"client_id": "481260393117-0ah0ekk7lu5r44ko2uqlfoebgak8dmhj.apps.googleusercontent.com",
|
||||
"client_id": "679771497905-9d8ht9dnuhbn70p72hhc5ld29lfbqhpr.apps.googleusercontent.com",
|
||||
"client_type": 3
|
||||
}
|
||||
]
|
||||
|
||||
@@ -7,9 +7,9 @@ public class ConfigManager {
|
||||
public static String SDK_GAMEID = "20587";
|
||||
public static String SDK_PROJECTID = "20587";
|
||||
public static String SDK_CLOUDID = "128";
|
||||
public static String SDK_CLIENTID = "Android_5.00_tyGuest,facebook.googleplay.0-hall20587.googleplay.FishingMaster";
|
||||
public static String SDK_CLIENTID = "Android_5.00_tyGuest,facebook.googleplay.0-hall20587.googleplay.FishingTravelTw";
|
||||
|
||||
public static String SDK_LOGIN_SERVER_URL = "https://128-hwsfsdk-sdk-online01.qijihdhk.com";
|
||||
public static String SDK_LOGIN_SERVER_URL = "https://128-hwsfsdk-sdk-ts02.sdk-k8s-us-gcp.arksgame.com";
|
||||
|
||||
// 防沉迷 - nameSpace
|
||||
public static String FCM_NAMESPACE = "128";
|
||||
|
||||
Binary file not shown.
@@ -11,13 +11,13 @@
|
||||
#define SDK_GAMEID @"20587"
|
||||
#define SDK_PROJECTID @"20587"
|
||||
#define SDK_CLOUDID @"128"
|
||||
#define SDK_CLIENTID @"IOS_5.00_tyGuest,facebook,appStore.appStore.0-hall20587.appStore.FishingMaster"
|
||||
#define SDK_CLIENTID @"IOS_5.00_tyGuest,facebook,appStore.appStore.0-hall20587.appStore.FishingTravelTw"
|
||||
|
||||
//Google
|
||||
#define GOOGLE_CLIENTID @"481260393117-88n0v3ht8ashhk0r5ri47hced7o5qj62.apps.googleusercontent.com"
|
||||
|
||||
// 账号支付 - 服务域名
|
||||
#define SDK_LOGIN_SERVER_URL @"https://128-hwsfsdk-sdk-online01.qijihdhk.com"
|
||||
#define SDK_LOGIN_SERVER_URL @"https://128-hwsfsdk-sdk-ts02.sdk-k8s-us-gcp.arksgame.com"
|
||||
// 账号支付 - Debug
|
||||
#define XYSDK_DEBUG YES
|
||||
// 广告 - AdBoxID
|
||||
|
||||
@@ -364,6 +364,13 @@ namespace tysdk
|
||||
UnityBridgeFunc.CleanLinkTmpSnsInfo();
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
public async Task<ChangeLinkResult> ChangeLinkAccount(EAccoutType accoutType, int oldUserId, int newUserId)
|
||||
{
|
||||
await Task.Delay(300);
|
||||
return new ChangeLinkResult(){code = 1};
|
||||
}
|
||||
#elif UNITY_IOS || UNITY_ANDROID
|
||||
public async Task<ChangeLinkResult> ChangeLinkAccount(EAccoutType accoutType, int oldUserId, int newUserId)
|
||||
{
|
||||
var task = TYSDKCallbackManager.Instance.RegisterCallback<ChangeLinkResult>(TimeSpan.FromSeconds(30));
|
||||
@@ -388,6 +395,7 @@ namespace tysdk
|
||||
CleanLinkTempSnSInfo();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public void ChangeLinkAccountResult(string message)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user