On iOS native project (Swift) or on Ionic / Capacitor / Cordova project, learn how to request user permission before any data is collected.
If you use Firebase Analytics or any other library that tracks the user, and you initialize it before user permission, Apple may block you app on App Store and send you a messages like
"The request should appear before any data is collected that could be used to track the user"
"Please explain where we can find the App Tracking Transparency permission request in your app"
This video teaches you how to program Xcode using Swift to ask user for permission before collecting any data.