Ciao Mattia, Valerio here!! hope you are well :-)
I am sure the behavior is changing with iOS 14.5. (https://developer.apple.com/app-store/user-privacy-and-data-use/)
Installing 14.5 beta is not returning the identifier for me.
This is the way I am doing it
if #available(iOS 14.5, *) {
ATTrackingManager.requestTrackingAuthorization { (status) in
if status == .authorized {
Utils.idfa = ASIdentifierManager.shared().advertisingIdentifier.uuidString
}
}
} else {
if ASIdentifierManager.shared().isAdvertisingTrackingEnabled {
Utils.idfa = ASIdentifierManager.shared().advertisingIdentifier.uuidString
}
}
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags: