Repository navigation
The iOS ATT prompt is no longer lost when the app is not active at the moment it is requested.
Fixed
- iOS only presents the App Tracking Transparency prompt while the app is active, and silently drops a request made otherwise: another system alert on screen, an incoming call, Control Center pulled down. The old fire-once request then left the status
NotDeterminedfor the whole session, so the user was never asked. - The request is now armed instead of fired once:
- it asks only while the app is active
- it asks again every time the app becomes active, while the status is still
NotDetermined - it stops listening as soon as the user answers
- The 90 second wait before init is unchanged. On timeout, ads still start without IDFA, but the request stays armed and the prompt appears the next time the app becomes active.
- Applies to the local consent path and
requestAttAuthorization. The InMobi CMP path is unchanged: the CMP raises its own prompt and the package only waits for the answer.
What to look for on device
In a Development Build, pull down Control Center just as the consent form closes, then dismiss it. The log shows:
[Autech.LevelPlay] App lost focus while waiting for ATT; iOS will not show the prompt until it returns.
[Autech.LevelPlay] App became active while ATT is still undetermined, so the prompt is being asked again.
and the prompt appears straight away.
Install
https://github.com/HaseebDev/LevelPlay-Mediation-Package.git#v1.2.2
Or import the attached .unitypackage.