void InitAppsFlyerSDK() { #if UNITY_IOS && !UNITY_EDITOR if (useATT) { AppsFlyeriOS.waitForATTUserAuthorizationWithTimeoutInterval(attDuration); } if (disableSKAd) { AppsFlyeriOS.disableSKAdNetwork(true); } #endif // These fields are set from the editor so do not modify! //******************************// AppsFlyer.setIsDebug(true); AppsFlyer.initSDK(devKey, appId, this); //******************************// if (useUDL) { AppsFlyer.OnDeepLinkReceived += OnDeepLink; } if (!String.IsNullOrEmpty(userInviteOneLinkId)) { AppsFlyer.setAppInviteOneLinkID(userInviteOneLinkId); } if (!String.IsNullOrEmpty(cuid)) { AppsFlyer.setCustomerUserId(cuid); } onSDKStarted(); if (DelaySdkStartTime > 0) { StartCoroutine(DelaySdkStartUp()); } else { AppsFlyer.startSDK(); } }