iOS 14 Network Support

Starting in iOS 14, IDFA will be unavailable until an app calls the App Tracking Transparency framework to present the app-tracking authorization request to the end-user. If an app does not present this request, the IDFA will automatically be zeroed out which may lead to a significant loss in ad revenue.

App Tracking Transparency

To display the App Tracking Transparency authorization request for accessing the IDFA, update your Info.plist to add the NSUserTrackingUsageDescription key with a custom message describing the usage. 

<key>NSUserTrackingUsageDescription</key>
<string>This identifier will be used to deliver personalized ads to you.</string>

Call requestTrackingAuthorizationWithCompletionHandler:. to present the App Tracking Transparency authorization request alert. Call this method at the application launch event. We recommended initializing Appodeal SDK in the completion block. 

import AppTrackingTransparency
import AdSupport

class AppDelegate : UIApplicationDelegate {

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
		ATTrackingManager.requestTrackingAuthorization() { status in
			// Tracking authorization completed. Initialise Appodeal here.
		}
		return true
	}
}

SKAdNetwork support 

Ad networks used in Appodeal mediation support conversion tracking using Apple's SKAdNetwork, which means ad networks are able to attribute an app install even when IDFA is unavailable. To enable this functionality, you will need to update the SKAdNetworkItems key with an additional dictionary in your Info.plist.

  1. Select Info.plist in the Project navigator in Xcode
  2. Click the Add button (+) beside a key in the property list editor and press Return
  3. Type the key name SKAdNetworkItems
  4. Choose an Array type
  5. Add Key-Value pair where the key is SKAdNetworkIdentifier and the value is the ad network identifier

There is the table of Ad Networks that support SKAdNetwork attribution and SKAdNetworks IDs in Info.plist format: