5

So we were about to submit our app for review but we were stopped by Google's new requirement for apps targeting Android 13 and above, which basically tells developers to disclose the purpose of AD_ID permission in their app. The thing is, our app doesn't declare the AD_ID permission explicitly, but it turns out some play-services lib or Firebase uses it and thus, it has been merged to our app's manifest.

So I found some solutions so that a permission declared by a library will not be merged to an app's manifest, but my fear is that our app's functionality that depends on Firebase might stop working. Has anyone faced this situation?

Alvin Dizon
  • 1,855
  • 14
  • 34
  • How did you exclude that permission from the manifest merging? Trying to resolv exactly the same issue the second day in line – Ivan Taranov Nov 29 '22 at 22:52

1 Answers1

7

If you've disabled collection already, removing the AD_ID permission is unlikely to cause problems. See: https://github.com/firebase/firebase-android-sdk/issues/2582

Disable collection:

<meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />

Remove permission:

<uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove" />
jack
  • 573
  • 4
  • 12