Skip to content

Provides support for App Tracking Transparency and SkAdNetwork API newly introduced in Apple iOS 14.

Notifications You must be signed in to change notification settings

BrandXR/com.unity.ads.ios-support

 
 

Repository files navigation

iOS Ads Support

Copy of the ioS Ads Support Unity Plugin.

Assembly:
com.unity.ads.ios-support

Namespace:
Unity.Advertisement.IosSupport

ASMDEF File:
Unity.Advertisement.IosSupport

Scripting Define Symbol:
EXT_ADS_IOS_SUPPORT

Using this 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.

For more information about iOS 14 technical integration, including this package's support functionality, please see the full iOS 14 technical documentation.

Apple developer API extensions

This package provides access to the following Apple developer APIs:

public static void SkAdNetworkUpdateConversionValue(int conversionValue)

This method allows you to update the attribution conversion value.

SkAdNetworkRegisterAppForNetworkAttribution()

This method allows you to register for attribution.

public static void RequestAuthorizationTracking()

This method allows you to request the user permission dialogue.

public static AuthorizationTrackingStatus GetAuthorizationTrackingStatus()

This method allows you to check the app tracking transparency (ATT) authorization status.

Sample Project

The SampleProject~ folder included here is a complete Unity project, compatible with Unity 2018.4.33f1 and up. This project contains an example of a context screen you could use to give context to users before showing the native App Tracking Transparency dialog.


INSTALLATION INSTRUCTIONS

About

Provides support for App Tracking Transparency and SkAdNetwork API newly introduced in Apple iOS 14.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 82.3%
  • Objective-C 16.8%
  • Batchfile 0.9%