-
Notifications
You must be signed in to change notification settings - Fork 606
Firebase-analytics adds Ad dependecy #2582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @shumidub thanks for reaching out. Per this help center article: "By default, the Firebase SDK collects identifiers for mobile devices (for example, Android Advertising ID and Advertising Identifier for iOS) ..." This is done to enable attribution, as well as reporting on demographics and interests. If you'd like to continue reporting Ad ID, Google Play now requires publishers that collect Ad ID to submit a privacy policy. Otherwise If the developer doesn't want to collect Ad ID, they can disable collection instead. |
How I can delete AdMob SDK from App without deleting Firebase? |
Thanks invertase/react-native-firebase#3617. For fixing I change my dependencing like this:
And now my Firebase working and Google Play don't show warnings: P.S: Sorry that Russian on screenshots. This is becouse I don't know how to change language in Google Play Console. But I hope that you understand main idea of screenshots. |
Unfortunatelly my fix not working :( |
Analytics use: The advertising identifier may only be connected to personally-identifiable information or associated with any persistent device identifier (for example: SSAID, MAC address, IMEI, etc.) with the explicit consent of the user https://support.google.com/googleplay/android-developer/answer/10808976?hl=en |
I want to disable collecting ads id from my application for my peace of mind |
And I want to remove com.google.android.gms:play-services-ads-identifier dependency from my app to hide "Ads warning" in the Play Console |
Hi all, Sorry for getting back late. To disable id collection, please follow our guide here and I've submitted a request to fix the Ads warning in Google Play. I'll keep you posted. |
Hi there, I'm using ionic 3 with cordova-plugin-firebasex and got warning in play store. I found that this can be solved by adding exclude module: "play-services-ads-identifier" to build.gradle. But when I do ionic cordova build android, it overwrites the changes in build.gradle file. So is there any way to remove the admob sdk (play-services-ads-identifier) from ionic 3 project? |
I add to AndroidManifest.xml: But after publish to GooglePlay I get "SDK AdMob" again. And this not fixed the problem. |
Sorry, this page can't be found. |
Dear developers of Firebase. Can you connect to developers of GooglePlay? You have been working for the same company Google. Please fix this bug with developers of GooglePlay. May be this bug in GooglePlay? |
Hello. Are there any new developments for issue? |
You can just add to the AndroidManifest to remove the 'AD_ID' permission and then also tell the Firebase Analytics SDK not to collect it. The documentation for the class included by the play-services-ads-identifier, explains how the AD ID is used and how to avoid any transitive dependencies from adding the permission. I can see part of this was already posted, but just included it for completeness and discoverability. AndroidManifest.xml
|
Faced with same issue Will
work instead of
? Of course with
|
This not work with a android studio Firebase project, the permission is not on the merged manifest anymore, but google still showing the erro message |
@M001T Yes. |
I have Contacted to Google Play support they replied that if you use analytics, you need to choose YES on The AD_ID permission for analytics use case on Advertising ID section. You should not remove permission manually or remove analytics sub-modules which contains AD_ID permission since it can break things... So just need to choose YES even if the app is not using Ads |
Why would they need to ask if they force it anyway? IMO App functionality, Analytics & Developer Communications should be seperated from "advertising ID" |
@aguatno please this is become urgent. Google Play now block apps from releasing My app doesn't have ads. Just Firebase Analytics Even doing all this the google play still complains: in the manifest
inside application tag
and dependency:
Nothing, the Google Play still complains with that error when trying to create a new release |
With apologies - I need everyone to understand that I/we are not in control of this here. The repo you want to chase down is firebase-android-sdk / possibly in concert with Play Store support. I am sorry that I can't be more help but this is not something we add here or control here. I see you have posted there as well, so this is largely duplicate: #2582 I will only leave this open for information purposes / possible updates only, but that bug 2582 over on firebase-android-sdk is the one to follow. Then if they release a change we can adopt it here as needed |
Hi @danielesegato, could you try removing the code you've altered, and add the solution provided by kunwar295? If I'm not mistaken, there's no extra code setup needed. All that's needed is the declaration that an Advertising ID is being used in third party library (Firebase Analytics). This can be done through your Google Play Console, and that should be sufficient enough to remove the error. I don't think there should be any more issue here since this should be working after proper declaration in Google Play Console. I'll close this issue for now. If this is still not working, let me know and I'll reopen the issue. Thanks! |
@danielesegato and others - for some reason adding Firebase services I useMy app includes no ads whatsoever. All I want is crashlytics, performance monitoring and analytics:
Configuration that worked for meWith the configuration as below I was able to get rid of the warning in GooglePlay console:
Again, if you have the following line in your AndroidManifest,
|
Hi @jeiea, you could check out the documentation which contains the explanation for requiring Ad ID, under the section of Identifiers for mobile devices.
As for the issue, I assume this is a bug where even if you remove all your app bundle, the most recent app bundle is still retained (you would notice this when you try to upload the same app bundle again, an error would come out), but I could be wrong though. That said, I think it would be best to reach out to the Play Console help support. Alternatively, updating your declaration will remove the error. |
Repeat my words:
|
Hi @mobilase, we can probably raise this up to our engineering team and see if it's possible to talk to some GooglePlay folks if the issue still persists to our developers. It looks like a lot of our developers have been able to resolve the issue with the given solution. From what I see, this is no longer a bug but more of a requirement on Google Play Console. That said, updating your declaration should already remove the error. I don't see any reason why this shouldn't work. Are you still experiencing the issue you've previously mentioned? Have you tried the solution provided by kunwar295 and moertel? |
Got it, let me know if moertel's solution works. |
@argzdev I as you suggested: I declared my app uses AD ID for analytics by third party. I was afraid this would make my app show as "Contain Ads" or something like that but it didn't. I still find it a bit odd that something about "AD" is needed for analytics but I'm OK with this. It is not straight forward tho' and I think you should definitely get in touch with your Google Play colleagues to improve a bit the communication around this, at least in the Google Play side :) Thanks for your time! |
When I'm using com.google.firebase:firebase-analytics:18.0.2 package com.google.android.gms.ads.identifier.AdvertisingIdClient appears into my apk. And Play Console show warning "Ad SDK found"
I want to have a way to use firebase analytics without AD SDK.
Similar issue invertase/react-native-firebase#3617
The text was updated successfully, but these errors were encountered: