Method RequestATTrackingAsync
RequestATTrackingAsync()
Requests iOS ATT authorization. When the Facebook module is enabled, also forwards the outcome to
the Meta Audience Network SDK, which cannot read the ATT status on its own.
Await this before initializing any SDK that reads the IDFA (Firebase, AppLovin, AppsFlyer,
Adjust…): unlike a fire-and-forget request it does not return until the user has answered, so those
SDKs start up with the final tracking state instead of racing the prompt.
Returns true when tracking is authorized. Returns true without prompting on non-iOS
platforms and on iOS below 14.5, where ATT does not exist and tracking is permitted by default.
public static Awaitable<bool> RequestATTrackingAsync()
Returns
- Awaitable<bool>