I'm trying to test the iOS 14 tracking popup. It shows up when I test it on the Simulator, but not on a real device (iOS 14.3).
I have already read this post (IDFA iOS14 returns denied without displaying auth popup). But turning on the tracking option doesn't solve my problem.
I made sure:
- To provide a purpose string (
NSUserTrackingUsageDescription
) in the Info.plist - To actually call
ATTrackingManager.requestTrackingAuthorization(completionHandler:)
- That the tracking (Preferences > Privacy > Tracking) is turned on
But I don't get prompted when running the app. The completionHandler
gets called immediately with the .denied
case.
Also, the app does not even show up on the list of apps using tracking (Preferences > Privacy > Tracking).
