IOS App Tracking Transparency for Admob #5340
-
I have an app where I want to show personalized ads so I want to use ATT for IOS 14+. After some research I found the RN-Tracking-Trasparency package but I'm confused because of Admob. As I understand it if user does not allow for ATT I should disable tracking Ad ID for Admob. On the contrary if user allow for ATT I can show personalize ads for user so I should enable tracking Ad ID feature (or default enable so i shouldn't do anything) How can I do this depending on the user given permission condition? I saw the section in the documentation, but I don't think it's conditional. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Use react-native-permissions for ATT, I think. If you want to use AdMob, you must integrate ATT though, as it uses IDFA symbols from iOS. |
Beta Was this translation helpful? Give feedback.
Use react-native-permissions for ATT, I think.
I can't speak to integration with AdMob, they removed it from the upstream firebase SDKs so we don't relate to it directly at the moment.
If you want to use AdMob, you must integrate ATT though, as it uses IDFA symbols from iOS.
There are lots of toggles for whether data is collected by default on startup that are available in firebase.json you can see the schema here (v11.5.0 version from here, where we still had a firebase admob module) https://github.com/invertase/react-native-firebase/blob/v11.5.0/packages/app/firebase-schema.json