Using the iOS 14 support package
This package supports Apple's SKAdNetwork and AppTrackingTransparency frameworks for your made-with-Unity iOS application, by aggregating proper ad network IDs and providing access to relevant Apple developer APIs.
Installing the package
- Download this repo to your hard drive.
- In the Unity Editor, open the Unity Package Manager window.
- Click the + button and select Add package from disk....
- Navigate to the location where you downloaded the repo and select the iOS14 Support package (..\com.unity.ads.ios-support-master\com.unity.ads.ios-support\package.json) to install the package. If successful, the iOS14 Support package will appear in the package manager list (note that you must have All packages selected to view it).
SKAdNetwork ID support
The iOS14 Support package will automatically aggregate an updated list of advertising sources in your game's Info.plist file when you build the application:
- Build your project for iOS.
- Check the resulting Info.plist file to ensure that your
SKAdNetworkItems
are as expected. If necessary, manually add any additionalSKAdNetworkIdentifier
dictionaries to the array.
For more information, see documentation on modifying the properties list.