Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Flurry add Ad dependency #21

Open
shumidub opened this issue Apr 12, 2021 · 13 comments
Open

Flurry add Ad dependency #21

shumidub opened this issue Apr 12, 2021 · 13 comments
Assignees

Comments

@shumidub
Copy link

When I'm usingcom.flurry.android:analytics:12.11.0 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.

Without flurry sdk my apk haven't ads sdk

@potingwu
Copy link

In your app's dependency, do not include the following libraries, it should resolve your issue.

    implementation 'com.google.android.gms:play-services-base:15.0.1'
    implementation 'com.google.android.gms:play-services-ads:15.0.1' 

@shumidub
Copy link
Author

This is sample project for issue
https://github.com/shumidub/flurry_added_ad_dep_issue_sample

  1. Dependency "com.flurry.android:analytics:12.11.0@aar" added in app/build.gradle
  2. Build apk
  3. Analyze apk
  4. GMS ADS dependency is into apk

изображение

  1. remove "com.flurry.android:analytics:12.11.0@aar" dependency
  2. Build apk
  3. Analyze apk
  4. GMS ADS dependency is not into apk

@potingwu
Copy link

When apps have the dependency of play-services-ads, Flurry will use it to retrieve the Google Ad ID. If not, Flurry will just skip it. This is to improve the identity for analytics.

Flurry does not provide any AD features, or force apps to include the play-services-ads dependency.

@shumidub Does Play Console show warning "Ad SDK found" prevent the ability to publish apps in the Play store?

@shumidub
Copy link
Author

Warning "Ad SDK found" can affect ASO optimisation

@shumidub
Copy link
Author

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

@shumidub
Copy link
Author

I want to disable collecting ads id from my application for my peace of mind

@shumidub
Copy link
Author

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

@poting-oath
Copy link
Collaborator

@shumidub Do you still have issue for using the latest 13.1.0 release? Flurry SDK is reduced the dependencies.

@poting-oath poting-oath self-assigned this Jan 25, 2022
@thisisatestuseraccount
Copy link

Flurry doesn't use reflection to determine the availability of AdvertisingIdClient at runtime. Segment is another analytics platform that doesn't seem to trigger this issue because it uses reflection.

This means if AdvertisingIdClient is available at build time but not used by first party code, Flurry will cause the class to be included and used, which now flags apps on Google Play as collecting 'Device ID or other identifiers'.

Thanks for the hint above - I'll work on stripping the base dependency out of our frozen dependency file, but including play-services-base as a direct dependency probably shouldn't result in an analytics SDK accessing an advertising id.

@poting-oath
Copy link
Collaborator

@thisisatestuseraccount We will investigate it. Thanks!

@poting-oath
Copy link
Collaborator

@thisisatestuseraccount @shumidub Fix will be available in the next release. Thanks!

@shumidub
Copy link
Author

Good afternoon, and in what version is the fix?

@poting-oath
Copy link
Collaborator

poting-oath commented Aug 30, 2022

@shumidub @thisisatestuseraccount
Version 13.3.0 - 5/9/2022 (https://developer.yahoo.com/flurry/docs/releasenotes/android/#version-13-3-0-5-9-2022)

  • Complete removal of Google Play Services dependencies.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants