title: App Store Rejection - Guideline 5.1.2 - Legal - Privacy - Data Use and Sharing
body: <p>I use Firebase for user authentication, I just resubmitted my app and got the following rejection:</p>
  <blockquote>
  <p>Guideline 5.1.2 - Legal - Privacy - Data Use and Sharing</p>
  <p>We noticed you do not use App Tracking Transparency to request the
  user's permission before tracking their activity across apps and
  websites. The app privacy information you provided in App Store
  Connect indicates you collect data in order to track the user,
  including Other Diagnostic Data, Audio Data, Performance Data, Crash
  Data, Product Interaction, Phone Number, User ID, Emails or Text
  Messages, Photos or Videos, and Search History.</p>
  <p>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.</p>
  <p>Next Steps</p>
  <p>Here are two ways to resolve this issue:</p>
  <ul>
  <li>You can remove the tracking functionality from your app and update your app privacy information in App Store Connect.</li>
  <li>If you decide to continue tracking users, you must implement App Tracking Transparency and request permission before collecting data
  used to track the user or device.</li>
  </ul>
  </blockquote>
  <p>My app has no ads but I have to track users throughout the app using their userID so that I know what post belongs to which user etc etc.</p>
  <p>If the user declines the prompt <code>AppTrackingTransparency</code> isn't that basically saying that I can no longer track them? I have no idea what to do here.</p>
  <p>Here are the Privacy checkboxes that I filled out. Apparently i can change something but I don't know what to change.</p>
  <p><a href="https://i.stack.imgur.com/g8hCe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/g8hCe.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/utddw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/utddw.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/BrQ8Z.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BrQ8Z.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/CPLLK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/CPLLK.png" alt="enter image description here" /></a></p>