1

I implemented firebase analytics into an android app. I set <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" /> to disable the Advertising ID collection. (IDFA collection on iOS is also disabled, thus it makes sense to stay consistent, does it not?)

However, the <uses-permission android:name="com.google.android.gms.permission.AD_ID"/>still is added by firebase analytics. Thus, in order to submit my app i had to answer the question: Does your app use an advertising ID? with yes.

This seems odd to me. How do you guys handle this?

Also, what is the SSAID collection, and does it make sense to disable that too?

lr058
  • 273
  • 2
  • 11

1 Answers1

2

I encountered the same problem in one of my projects.

If you do not want this permission to be included in the merged manifest and do not want ad ID collection to occur, you must manually exclude it from being added to the final version of the manifest by adding this code to the manifest:

<meta-data android:name="google_analytics_adid_collection_enabled"
android:value="false" />
<uses-permission
android:name="com.google.android.gms.permission.AD_ID"
tools:node="remove" />

By disabling ad id collection, as far as I know you may not see some additional information for events in the Console. It may be some demographic data or something like that.

Mikhail Guliaev
  • 1,168
  • 1
  • 6
  • 14