How to: Apply IDFA on iOS 14 beta 5 or above
If you want to use Admob in the future, you must apply AppTrackingTransparency to your app.
Apple announced a new transparency framework for iOS 14 . To prevent a significant loss in ad revenue, you will need to make the changes to your app before the release of iOS 14.— Google
After the release of iOS 14 beta 5, I noticed that Google updated the document, which advised the developers to use IDFA to prevent revenue loss.
What is IDFA?
IDFA, as known as Identifier for Advertisers, is an Apple iOS feature to identify the user’s device. By the release of iOS 14, the app will be required the user’s permission for IDFA. Your user will see an ATT alert that asks allow access to and use of identifiers.
Action to IDFA
Platform: iOS 14 beta 5 or above
Tools: Xcode 12 beta 5
Environment: SwiftUI with multi-platform
Steps
- To display the App Tracking Transparency authorization request for accessing the IDFA, you need to update your Info.plist (iOS).
UseNSUserTrackingUsageDescription
key with a custom message to describing the usage. Here’s a quick example for you: