[F] Android GA International
This commit is contained in:
@@ -2,6 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using AppsFlyerSDK;
|
||||
using asap.core;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using ThinkingData.Analytics;
|
||||
using tysdk;
|
||||
using UnityEngine;
|
||||
@@ -50,13 +51,15 @@ public class SDKTest : MonoBehaviour
|
||||
|
||||
void Start()
|
||||
{
|
||||
|
||||
IObjectSerializer serializer = new ObjectSerializer();
|
||||
IConfig config = new Config(serializer);
|
||||
GContext.container.RegisterInstance<IConfig>(config);
|
||||
|
||||
Debug.Log("SDKTest Start");
|
||||
//===============================================================================
|
||||
//====================== Test Server ===========================
|
||||
UnityBridgeFunc.UnityResetServerUrl("https://128-hwsfsdk-sdk-test01.qijihdhk.com");
|
||||
IObjectSerializer serializer = new ObjectSerializer();
|
||||
IConfig config = new Config(serializer);
|
||||
GContext.container.RegisterInstance<IConfig>(config);
|
||||
config.Set("AGG_SERVER", "https://128-hwsfsdk-sdk-test01.qijihdhk.com");
|
||||
//====================== Test Server ===========================
|
||||
//===============================================================================
|
||||
@@ -187,11 +190,13 @@ public class SDKTest : MonoBehaviour
|
||||
|
||||
public void OnGaBtn()
|
||||
{
|
||||
//Debug.LogError("Ga ask");
|
||||
//using (var e = GAEvent.TackEvent("idcheckdone"))
|
||||
//{
|
||||
//e.AddContent("test ga", true);
|
||||
//}
|
||||
var e = new JObject();
|
||||
e["user_id"] = 10001;
|
||||
e["login_type"] = EAccoutType.hwGuest.ToString();
|
||||
e["display_name"] = "Skistua";
|
||||
e["avatar_url"] = "";
|
||||
Debug.Log(e.ToString());
|
||||
TYSdkFacade.Instance.EventTrack(1,AFInAppEvents.LOGIN,e.ToString());
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user