> ## Documentation Index
> Fetch the complete documentation index at: https://docs.almedia.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# iOS - App Tracking Transparency

> How to integrate the Almedia SDK — synced from the source repository.

Almedia attribution benefits from access to IDFA, which on iOS is gated behind Apple's App Tracking Transparency (ATT). The native SDK reads IDFA only after ATT authorization; the Unity SDK shows no consent UI of its own.

## `Info.plist`

Any ATT usage requires a non-empty `NSUserTrackingUsageDescription` string in the final `Info.plist`. The SDK provides an iOS post-build hook that:

* Runs **after all other SDKs' post-processors**, so it observes the final merged `Info.plist`.
* Adds `NSUserTrackingUsageDescription` with a default string ("Tracking lets us credit your rewards correctly and faster.") **only if** neither the host app nor another SDK has already set the key.
* Logs to the Unity console when it adds the key, and when it leaves an existing value untouched.

To use custom copy, set `NSUserTrackingUsageDescription` directly via **Player Settings → iOS → Other Settings → Custom Info.plist entries** (or any other plugin). The SDK detects the existing value and does not overwrite it.

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.