Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

remove ACCESS_ADSERVICES permissions

rosariopf221b615690fd
diff --git a/app/prodRelease-badging.txt b/app/prodRelease-badging.txt
index 3fb740202..e02e43563 100644
--- a/app/prodRelease-badging.txt
+++ b/app/prodRelease-badging.txt
@@ -6,8 +6,6 @@ uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
uses-permission: name='android.permission.POST_NOTIFICATIONS'
uses-permission: name='android.permission.WAKE_LOCK'
uses-permission: name='com.google.android.c2dm.permission.RECEIVE'
-uses-permission: name='android.permission.ACCESS_ADSERVICES_ATTRIBUTION'
-uses-permission: name='android.permission.ACCESS_ADSERVICES_AD_ID'
uses-permission: name='com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE'
uses-permission: name='android.permission.RECEIVE_BOOT_COMPLETED'
uses-permission: name='android.permission.FOREGROUND_SERVICE'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 0b0482c13..7bd013b1e 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -20,11 +20,13 @@
<uses-permission android:name="android.permission.INTERNET" />
<!--
- Firebase automatically adds the AD_ID permission, even though we don't use it. If you use this
- permission you must declare how you're using it to Google Play, otherwise the app will be
- rejected when publishing it. To avoid this we remove the permission entirely.
+ Firebase automatically adds these AD_ID and ADSERVICES permissions, even though we don't use it.
+ If you use this permission you must declare how you're using it to Google Play, otherwise the
+ app will be rejected when publishing it. To avoid this we remove the permission entirely.
-->
<uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove"/>
+ <uses-permission android:name="android.permission.ACCESS_ADSERVICES_ATTRIBUTION" tools:node="remove"/>
+ <uses-permission android:name="android.permission.ACCESS_ADSERVICES_AD_ID" tools:node="remove"/>
<application
android:name=".NiaApplication"