I got this policy in my React Native App
:
form Google Play
I use this dependencies
"dependencies": {
"lodash": "^4.17.10",
"react": "16.3.1",
"react-native": "0.55.3",
"react-native-device-info": "^0.21.5",
"react-native-elements": "^0.19.1",
"react-native-google-analytics-bridge": "^5.8.0",
"react-native-google-places-autocomplete": "^1.3.6",
"react-native-map-clustering": "^1.3.0",
"react-native-maps": "*",
"react-native-masked-text": "^1.7.2",
"react-native-onesignal": "^3.2.5",
"react-native-svg": "^7.0.3",
"react-native-ui-kitten": "^3.0.1",
"react-native-vector-icons": "^4.6.0",
"react-navigation": "^2.0.2",
"victory-native": "^30.4.0"
},
According to the Firebase docs you can disable advertising id collection by setting:
Add this meta-data
in your AndroidManifest.xml
under the <Application>
tag
<meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
And add configurations
in your build.gradle
buildscript {
configurations {
all*.exclude group: 'com.google.firebase', module: 'firebase-core'
all*.exclude group: 'com.google.firebase', module: 'firebase-iid'
}
repositories {
...
}
dependencies {
...
}
}
resource : Is my app or its dependencies violating the Android Advertising Id policy?