-
Notifications
You must be signed in to change notification settings - Fork 195
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
Device ID Collection Violates Google Play's User Data Policy #566
Comments
I can confirm 🙏 |
We have |
@kuznetsov-from-wonderland Did you choose to pass |
@rborn Thank you so much for providing confirmation on Analytics React Native 2.0 triggering the violation! Can you by chance share a screenshot of the violation? Thanks! |
Thanks for the report! we changed the code to comply to Google's User Data policy now in PR: #567 it will be out on the next release of core |
Can we expect an immediate release ? |
@509dave16 I'm still on 1.5.0, will update the module and let you know :) |
This is released now in v2.2.2. Let us know if you bump into any issues with it |
@oscb Awesome! Will be testing out the latest release. Will let you know if anything comes up. |
I'm still getting the error when trying to submit with v2.2.2 |
@andrewkvavlewhite Can you provide screenshot/copy of the violation warning when you tried submitting your build on Google Play? |
@509dave16 Hey I ended up figuring it out, thanks. For everyone else who ran into this issue, make sure you run ./gradlew clean and follow these steps from google. Otherwise, the error will persist. And technically any version of this library v1.5.1 and above should work |
Hi!, this has been extended for version |
Did anyone find a solution to this? In summary deviceID can look like it could be turned on due to providing a Why is this an option if it causes apps using segment to get rejected by Google? |
Summary
Previously for Analytics Android to be compliant the access of
Settings.Secure.ANDROID_ID
andBuild.SERIAL
was removed in the following commit : get rid of android id and serial number. Which addressed this common violation:Your app collects or links persistent device identifiers (e.g., IMEI, IMSI, SIM Serial #, etc.)
However in Analytics React Native 2.x.x,
Settings.Secure.ANDROID_ID
is being directly accessed : AnalyticsReactNativeModule.kt -> getUniqueId .Which is what theoretically resulted in violations for Analytics Android previously.
This access of
Settings.Secure.ANDROID_ID
that violates the Google Play User Data policy needs to be addressed.Details
analytics-react-native
version: 2.2.1Steps to reproduce
2.x.x
version fof@segment/analytics-react-native
.Behavior
Expected behavior
No User Data policy violations.
Actual behavior(p.s. theoretically)
We have yet to submit our build of the new app experience containing the upgrade to

2.2.1
for Analytics React Native. But we have already received violation warnings from Google Play on a build of our app for the old experience that's using Analytics Android4.10.0
. So we are anticipating the same warning when we upgrade from Analytics React Native1.5.2
to2.2.1
in a build for the new experience of our app:References
The text was updated successfully, but these errors were encountered: