Hi everybody
I'm actually playing with ATT framework in Xcode 12 beta and I'm experiencing a weird behavior.
Let's have a precise use case:
In your device running under iOS 14, go to Settings > Privacy > Tracking and then switch off Allow Apps to Request to Track
Remove your app and reinstall it again
Open it
Before calling the requestTrackingAuthorization method, call the trackingAuthorizationStatus property
I personally expect it to be restricted but it's denied
It means that we can't make the difference between the following cases:
Case 1: the app already requested the tracking authorization (by calling requestTrackingAuthorization) and the user said no,
Case 2: the app never managed to request the tracking authorization and it's not even present in the list of the apps using ATT framework.
In another hand, I never managed to get the restricted status.
Did someone knows more about ATT framework? Do you think like me that this is a bug and will be fixed in the release version?