From eca06f96b1b75c79ebce9c38baf90a15d5a616e1 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期二, 16 四月 2024 10:27:03 +0800 Subject: [PATCH] 0312 越南ios 新sdk --- Project/app/src/game_904100357/java/com/secondworld/univeralsdk/FreePlatformUtil.java | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) 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..f88c8e2 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,9 +142,13 @@ _registerMsg.put("code", CodeA2U.FreePlatformRegisterOk); _registerMsg.put("account", account); UniversalUtil.sendMessageToUnity(_registerMsg); - Tracking.setRegisterWithAccountID(account); - EventUtils.setRegister("mobile",true); } }); } + + public void SendRegisterEvent() + { + Tracking.setRegisterWithAccountID(account); + EventUtils.setRegister("mobile",true); + } } -- Gitblit v1.8.0