获取包名方法添加

dev_chengFeng
gaoxin 2020-07-23 17:28:01 +08:00
parent 6f2a3c1c6c
commit 3fc23499f9
1 changed files with 3 additions and 1 deletions

View File

@ -64,12 +64,14 @@ function this.LoginRequest(openId, pt_pid, pt_gid, func)
end
AppConst.Token = msg.newToken
Log("get package name : "..AndroidDeviceInfo.Instance:GetPackageName())
-- 打点
ThinkingAnalyticsManager.SetDistinctId(AppConst.OpenId)
ThinkingAnalyticsManager.SetSuperProperties({
server_id = LoginManager.ServerId,
account = AppConst.OpenId,
["Bundle-id"] = "123",
["Bundle-id"] = AndroidDeviceInfo.Instance:GetPackageName(),
xx_id = AppConst.SdkChannel
})
TapDBManager.SetUser(openId)