read

Google provided their User Messaging Platform (UMP) for showing a pre-permission prompt.

A prompt before Apple’s system prompt.

Unfortunately, that won’t pass.

App Store Rejection

What needs to be done?

Call the system prompt directly.

import AppTrackingTransparency

// IDFA consent
if #available(iOS 14.5, *) {
    ATTrackingManager.requestTrackingAuthorization { status in
        print(status)
    }
}

Rest of the steps

Add NSUserTrackingUsageDescription in Info.plist, with a message like “This allows us to show you personalized ads, which keeps the app free for you.”.

Add SKAdNetworkItems for your networks in Info.plist. MoPub provides a nice tool to generate all that you need.


Image

@samwize

¯\_(ツ)_/¯

Back to Home