public static void InitializedAppsFlyerSdk() { AppsFlyer.initSDK(_devKey, null); AppsFlyer.startSDK(); if (AppsFlyer.isSDKStopped()) { return; } SendEvent("IAmWorking"); PlayerPrefs.SetString(KeyDataDTO.AppsFlyerKey, AppsFlyer.getAppsFlyerId()); }
public void stopSDK() { AppsFlyer.stopSDK(!AppsFlyer.isSDKStopped()); stopBTN.GetComponentInChildren <Text>().text = !AppsFlyer.isSDKStopped() ? "Stop SDK" : "Start SDK"; }