From 2d68216d82d585b9b1cb731a5668e61cb7134b04 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 11 九月 2024 16:38:59 +0800
Subject: [PATCH] 0312 恢复activity
---
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