I'm testing my implementation of the new App Tracking Transparency framework and am running into an issue: requestTrackingAuthorization() never shows the authorization prompt, and ATTrackingManager.trackingAuthorizationStatus always returns .denied.
I've verified that the following settings are enabled:
Any ideas as to what's going on here? Notably, I do see the prompt when running on the simulator, just not when running on actual hardware.
Versions of stuff
iOS: 14.3 (18C66)
Xcode: 12.3 (12C33)
I've verified that the following settings are enabled:
Privacy -> Tracking -> Allow Apps to Request to Track
Privacy -> Apple Advertising -> Personalized Ads (not sure this is even related)
Any ideas as to what's going on here? Notably, I do see the prompt when running on the simulator, just not when running on actual hardware.
Versions of stuff
iOS: 14.3 (18C66)
Xcode: 12.3 (12C33)
Apple released 14.5.1 and According to Apple, iOS 14.5.1 fixes a bug that prevented some users from seeing App Tracking Transparency prompts:
Updated OS, now I can see ATT dialog.This update fixes an issue with App Tracking Transparency where some users who previously disabled Allow Apps to Request to Track in Settings may not receive prompts from apps after re-enabling it. This update also provides important security updates and is recommended for all users.