From 4453e335db3f34355179919ab8655c2c93c9094a Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期五, 21 十二月 2018 20:36:29 +0800
Subject: [PATCH] UPDATE TAPTAP 配置修改

---
 Project/app/src/game_904100357/java/com/secondworld/univeralsdk/FreePlatformUtil.java |    7 -------
 ChannelDiff/Android/904100357/libs/app-game_904100357-release.aar                     |    0 
 Project/app/src/game_904100357/java/com/secondworld/univeralsdk/H2EngineSDK.java      |   38 --------------------------------------
 3 files changed, 0 insertions(+), 45 deletions(-)

diff --git a/ChannelDiff/Android/904100357/libs/app-game_904100357-release.aar b/ChannelDiff/Android/904100357/libs/app-game_904100357-release.aar
index bb37d9f..074ea5d 100644
--- a/ChannelDiff/Android/904100357/libs/app-game_904100357-release.aar
+++ b/ChannelDiff/Android/904100357/libs/app-game_904100357-release.aar
Binary files differ
diff --git a/Project/app/src/game_904100357/java/com/secondworld/univeralsdk/FreePlatformUtil.java b/Project/app/src/game_904100357/java/com/secondworld/univeralsdk/FreePlatformUtil.java
index ecbde5c..44d388f 100644
--- a/Project/app/src/game_904100357/java/com/secondworld/univeralsdk/FreePlatformUtil.java
+++ b/Project/app/src/game_904100357/java/com/secondworld/univeralsdk/FreePlatformUtil.java
@@ -7,9 +7,6 @@
 import com.allugame.freesdk.callback.FreeRegisterCallback;
 import com.allugame.freesdk.entities.FreeOrder;
 import com.allugame.freesdk.port.FreePlatform;
-import com.reyun.tracking.sdk.Tracking;
-import com.ss.android.common.applog.TeaAgent;
-import com.ss.android.common.lib.EventUtils;
 
 import org.json.JSONException;
 import org.json.JSONObject;
@@ -92,7 +89,6 @@
                             m_Message.put("code", CodeA2U.FreePlatformLoginOk);
                             m_Message.put("info", _info);
                             UniversalUtil.sendMessageToUnity(m_Message);
-                            Tracking.setLoginSuccessBusiness(_info.getString("account"));
                         } catch (JSONException e)
                         {
                             e.printStackTrace();
@@ -105,7 +101,6 @@
                     case FreeCallbackCode.LOGOUT_SUCCESS:
                         m_Message.put("code", CodeA2U.FreePlatformLogoutOk);
                         UniversalUtil.sendMessageToUnity(m_Message);
-                        EventUtils.setLogin("mobile",true);
                         break;
                     case FreeCallbackCode.LOGOUT_FAILURE:
                         m_Message.put("code", CodeA2U.FreePlatformLogoutFail);
@@ -147,8 +142,6 @@
                 _registerMsg.put("code", CodeA2U.FreePlatformRegisterOk);
                 _registerMsg.put("account", account);
                 UniversalUtil.sendMessageToUnity(_registerMsg);
-                Tracking.setRegisterWithAccountID(account);
-                EventUtils.setRegister("mobile",true);
             }
         });
     }
diff --git a/Project/app/src/game_904100357/java/com/secondworld/univeralsdk/H2EngineSDK.java b/Project/app/src/game_904100357/java/com/secondworld/univeralsdk/H2EngineSDK.java
index f1ddd9f..fcf4613 100644
--- a/Project/app/src/game_904100357/java/com/secondworld/univeralsdk/H2EngineSDK.java
+++ b/Project/app/src/game_904100357/java/com/secondworld/univeralsdk/H2EngineSDK.java
@@ -16,10 +16,6 @@
 import android.widget.Toast;
 
 import com.allugame.freesdk.port.FreePlatform;
-import com.reyun.tracking.sdk.Tracking;
-import com.ss.android.common.applog.TeaAgent;
-import com.ss.android.common.applog.TeaConfigBuilder;
-import com.ss.android.common.lib.EventUtils;
 import com.unity3d.player.UnityPlayer;
 
 import org.json.JSONException;
@@ -105,31 +101,9 @@
                     FreePlatformUtil.getInstace().payProcessing = true;
                     break;
                 case CodeU2A.PayFinished:
-                    Tracking.setPayment(_json.getString("orderID"),
-                                        _json.getString("payType"),
-                                        _json.getString("moneyType"),
-                                        (float) _json.getDouble("money"));
-
-                    int _money = (int) (_json.getDouble("money"));
-
-                    EventUtils.setPurchase("",
-                                           "",
-                                           "",
-                                           1,
-                                           _json.getString("payType"),
-                                           _json.getString("moneyType"),
-                                           true,
-                                           _money);
-
                     FreePlatformUtil.getInstace().payProcessing = false;
-
                     break;
                 case CodeU2A.ClientPackage:
-                    // 鍒濆鍖栫儹浜�
-                    Tracking.initWithKeyAndChannelId(_activity,
-                                                     UniversalUtil.getMetaString(_activity,
-                                                                                 "TrackAppID"),
-                                                     _json.getString("clientPkgID"));
                     break;
                 case CodeU2A.JPushAddLocalMessage:
                     addLocalNotification(_activity,
@@ -310,15 +284,6 @@
                 // ------------------------------- 鏋佸厜鎺ㄩ�� -------------------------------
                 JPushInterface.setDebugMode(true);
                 JPushInterface.init(activity);
-                // ------------------------------- 浠婂ぉ澶存潯 -----------------------
-                TeaAgent.init(TeaConfigBuilder.create(activity)
-                                      .setAppName(UniversalUtil.getMetaString(activity,
-                                                                              "TouTiao_AppName"))
-                                      .setChannel(UniversalUtil.getMetaString(activity,
-                                                                              "TouTiao_Chanel"))
-                                      .setAid(UniversalUtil.getMetaInt(activity, "TouTiao_AppID"))
-                                      .createTeaConfig());
-                TeaAgent.setDebug(true);
 
                 final long _waitingTime = System.currentTimeMillis();
 
@@ -388,13 +353,11 @@
     public static void onPause(final Activity activity)
     {
         FreePlatform.getInstance().onPause();
-        TeaAgent.onPause(activity);
     }
 
     public static void onResume(final Activity activity)
     {
         FreePlatform.getInstance().onResume();
-        TeaAgent.onResume(activity);
 
         if(FreePlatformUtil.getInstace().payProcessing)
         {
@@ -413,6 +376,5 @@
     public static void onDestroy(final Activity activity)
     {
         FreePlatform.getInstance().onDestory();
-        Tracking.exitSdk();
     }
 }

--
Gitblit v1.8.0