[A] appsflyer, SDK facade init method

This commit is contained in:
2024-08-07 00:28:22 +08:00
parent d2f1da88f1
commit 90d63db9e6
160 changed files with 9440 additions and 283 deletions

View File

@@ -4,6 +4,7 @@ using System.Threading.Tasks;
using asap.core;
using Newtonsoft.Json.Linq;
using UnityEngine;
using AppsFlyerSDK;
namespace tysdk
{
@@ -38,13 +39,19 @@ namespace tysdk
public void Init()
{
#if UNITY_ANDROID
//AppsFlyer.setIsDebug(true);
#if UNITY_IOS
AppsFlyer.initSDK("rSySeWtvKabfbPZE7Lmx7C","6505145935");
#elif UNITY_ANDROID
AppsFlyer.initSDK("rSySeWtvKabfbPZE7Lmx7C", null);
UnityBridgeFunc.InitSDK();
#endif
AppsFlyer.startSDK();
}
public void InitAfterLogin()
{
AppsFlyer.setCustomerUserId(_accountInfo.strUserId);
}