Example #1
0
        public static void InitializedAppsFlyerSdk()
        {
            AppsFlyer.initSDK(_devKey, null);
            AppsFlyer.startSDK();

            if (AppsFlyer.isSDKStopped())
            {
                return;
            }

            SendEvent("IAmWorking");
            PlayerPrefs.SetString(KeyDataDTO.AppsFlyerKey, AppsFlyer.getAppsFlyerId());
        }
Example #2
0
 public void stopSDK()
 {
     AppsFlyer.stopSDK(!AppsFlyer.isSDKStopped());
     stopBTN.GetComponentInChildren <Text>().text = !AppsFlyer.isSDKStopped() ? "Stop SDK" : "Start SDK";
 }