Adding AppTrackingTransparency problem

Guideline 5.1.2 - Legal - Privacy - Data Use and Sharing

The app privacy information you provided in App Store Connect indicates you collect data in order to track the user, including Crash Data. However, you do not use App Tracking Transparency to request the user's permission before tracking their activity.

Starting with iOS 14.5, apps on the App Store need to receive the user’s permission through the AppTrackingTransparency framework before collecting data used to track them. This requirement protects the privacy of App Store users.

I am getting this rejected message from apple. But I added AppTrackingTransparency to my project and alerts when the app launches. What must I do for the next step?

P.s I am using Firebase's Crashlytics.

struct AppDelegateHelper {
  static func askAppTrackingTransparency() {
    // Request user authorization to access app-related data for tracking the user or the device.
    if #available(iOS 14, *) {
      ATTrackingManager.requestTrackingAuthorization { status in
        switch status {
        case .authorized:
          print("Allowed to AppTrackingTransparency")
          break
           
        case .denied: break
        case .notDetermined: break
        case .restricted: break
        }
      }
    } else {
      // Fallback on earlier versions
      print("Can't ask AppTrackingTransparency")
    }
  }
}

I would add your explanation:

I added AppTrackingTransparency to my project and alerts when the app launches

as a comment to the rejection, even better with screen shots of the info.plist as well as the authorization request alert user gets when launching.

You need also to prove you don't collect anything if user denied or just did not accept tracking.

I am alerting this message in appdelegate . But I didn't change any code for Firebase Crashlytics. Will it relate to this?

Adding AppTrackingTransparency problem
 
 
Q