Alex
Alex

Reputation: 11

How to collect IDFA for Firebase in modular architecture on iOS 14

To use attributions correctly and Age/Gender user properties in Firebase we should collect IDFA from users devices. In documentation recommended to link AdSupport framework to project and it will do automagically. ("GoogleIDFASupport" framework is obsolete for Firebase)

Google suggest to link "AdSupport" framework in their documentation, but what target should be linked with AdSupport?

Should we link AppTransparency framework in iOS 14? iAd (in one answer from Firebase contributor it was marked as condition to IDFA collecting)?

Upvotes: 1

Views: 663

Answers (1)

dlackty
dlackty

Reputation: 1961

For both AdSupport & AppTrackingTransparency frameworks, I believe you need to link to your app target.

Please also notice that it's app developer's responsibility to call AppTransparency framework's API to ask user consent before 3rd party SDKs can collect user IDFA.

ATTrackingManager.requestTrackingAuthorization { _ in
}

Upvotes: 1

Related Questions