Amplitude-ReactNative icon indicating copy to clipboard operation
Amplitude-ReactNative copied to clipboard

(Google Play Warning) Sending Device Identifiers

Open felipeaugusto1 opened this issue 3 years ago • 8 comments

Sending Device Identifiers

Your app is using device identifiers (IMEI, MAC address, Build Serial, etc.) and sending identifier data to a remote network address.

This issue is commonly (but not only) found in apps using an outdated Advertising SDK.

Our analysis suggests that for your APK, this behavior is caused by the Advertising SDK(s) 'com.amplitude.api' although there may be additional SDKs or source code contributing to it. To stop receiving this warning, try updating or changing this (these) SDK(s) and check any other SDKs or code that may be using device identifiers.

Sending device identifiers is not a best practice for most use-cases and if you're using this identifier for advertising purposes, this may be a violation of Google Play policies and can affect your app's visibility on the Play Store.

felipeaugusto1 avatar Dec 10 '21 19:12 felipeaugusto1

Hi @felipeaugusto1 thank you for bringing this to our attention. We recently made changes to how advertising ids are handled in Android. I will check with the team to see if these issues are being addressed in that update.

justin-fiedler avatar Dec 10 '21 21:12 justin-fiedler

Great to hear that @justin-fiedler . Thanks for the quick reply

felipeaugusto1 avatar Dec 10 '21 21:12 felipeaugusto1

@felipeaugusto1 can you please provide the version the SDK you are using?

justin-fiedler avatar Dec 10 '21 22:12 justin-fiedler

@justin-fiedler I'm using 2.6.0

felipeaugusto1 avatar Dec 10 '21 22:12 felipeaugusto1

@felipeaugusto1 In android SDK, did you import the library for advertising id? We only fetch adversing id when the certain library is imported.

qingzhuozhen avatar Dec 27 '21 07:12 qingzhuozhen

@qingzhuozhen what android SDK are you referring to?

felipeaugusto1 avatar Dec 31 '21 12:12 felipeaugusto1

@felipeaugusto1 underlying ReactNative SDK is using our Android SDK now. To get advertising id, you need to install package like implementation 'com.google.android.gms:play-services-ads:18.3.0', otherwise the SDK won't get the advertising id.

qingzhuozhen avatar Dec 31 '21 19:12 qingzhuozhen

@qingzhuozhen Ah I see. I do have that package in my gradle file

felipeaugusto1 avatar Dec 31 '21 20:12 felipeaugusto1