title: AppsFlyer with iOS 14
body: <p>I'm working on an existing project and haven't used AppsFlyer before.</p>
  <p>in older version of AppsFlyer we have initialized it using these lines in AppDelegate</p>
  <pre><code>    AppsFlyerTracker.shared().appsFlyerDevKey = appsflyerKey
      AppsFlyerTracker.shared().appleAppID = appId
  
      AppsFlyerTracker.shared().trackAppLaunch()
  </code></pre>
  <p>And Track events using</p>
  <pre><code>     AppsFlyerTracker.shared().trackEvent(&quot;Started&quot;, withValues: prop)
  </code></pre>
  <p>But in the latest version of AppsFlyer the initial class name has changed from</p>
  <pre><code>AppsFlyerTracker -&gt; AppsFlyerLib
  // now event is logged by
  AppsFlyerLib.shared().logEvent(&quot;Started&quot;, withValues: prop)
  </code></pre>
  <p><strong>So I have two questions</strong></p>
  <ol>
  <li><p>As according to guide lines in iOS 14, we need to add permission for user to accept it before any tracking. <strong>Is it applies to these AppsFlyers logEvent event too</strong> ?</p>
  </li>
  <li><p><strong>if we need to add permission then  adding these lines will fill the purpose</strong> ?</p>
  <p>AppsFlyerLib.shared().waitForATTUserAuthorization(timeoutInterval: 60)
  ATTrackingManager.requestTrackingAuthorization { (status) in
  }</p>
  </li>
  <li><p>I didn't find alternate for <strong>AppsFlyerTracker.shared().trackAppLaunch()</strong> in the latest <strong>AppsFlyerLib</strong></p>
  </li>
  </ol>