??‍♀️iOS15 user tracking prompt pop-up box did not pop up

Original link: https://www.zhaoxiangguang.cn/note/ios/appstore/473.html#respond

When updating Sentence Treasure recently, the first user tracking pop-up box on iOS15 did not pop up, so it was rejected.

The content of the rejection is as follows:

Guideline 2.1 – Information Needed

We’re looking forward to completing our review, but we need more information to continue. Your app uses the AppTrackingTransparency framework, but we are unable to locate the App Tracking Transparency permission request when reviewed on iOS 15.7.

Next Steps

Please explain where we can find the App Tracking Transparency permission request in your app. The request should appear before any data is collected that could be used to track the user.

If you’ve implemented App Tracking Transparency but the permission request is not appearing on devices running the latest OS, please review the available documentation and confirm App Tracking Transparency has been correctly implemented.

If your app does not track users, update your app privacy information in App Store Connect to not declare tracking. You must have the Account Holder or Admin role to update app privacy information.

Resources

– Tracking is linking data collected from your app with third-party data for advertising purposes, or sharing the collected data with a data broker. Learn more about tracking .

– See Frequently Asked Questions about the requirements for apps that track users .

– Review developer documentation for App Tracking Transparency .

Finally looking at the documentation https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/3547037-requesttrackingauthorizationwith?language=objc , there are instructions in the documentation:

Calls to the API only prompt when the application state is UIApplicationStateActive . The authorization prompt doesn’t display if another permission request is pending user confirmation. Concurrent requests aren’t preserved by iOS, and calls to the API through an app extension don’t prompt. Check the trackingAuthorizationStatus for a status of ATTrackingManagerAuthorizationStatusNotDetermined to determine if you need to make an additional call.

So modify it to call the request method in the – (void)applicationDidBecomeActive:(UIApplication *)application method. If yours doesn’t pop up yet, pay attention to this sentence: The authorization prompt doesn’t display if another permission request is pending user confirmation. The popup also doesn’t pop up when another permission is waiting for the user to choose, so make sure privacy tracking is the first permission to request.

After the modification is completed, resubmit for review.

?Original article?Unauthorized reprinting or reprinting please indicate the source

Address of this article: https://www.zhaoxiangguang.cn/note/ios/appstore/473.html

This article is reproduced from: https://www.zhaoxiangguang.cn/note/ios/appstore/473.html#respond
This site is for inclusion only, and the copyright belongs to the original author.