Skip to content

Commit eb48405

Browse files
authored
Merge pull request #2333 from segmentio/wenxi/address-android-user-data-violation
add notes for complying user data policy in 4.10.1
2 parents e888bf9 + 69e4e62 commit eb48405

File tree

1 file changed

+4
-1
lines changed
  • src/connections/sources/catalog/libraries/mobile/android

1 file changed

+4
-1
lines changed

src/connections/sources/catalog/libraries/mobile/android/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ Naturally the Analytics SDK needs a unique ID for each user. The very first time
2424

2525
The Segment SDK also collects the [Advertising ID](https://developer.android.com/google/play-services/id.html) provided by Play Services. Make sure the Play Services Ads library is included as a dependency for your application. This is the ID that should be used for advertising purposes. This value is set to `context.device.advertisingId`.
2626

27-
Segment also collects the [Android ID](http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID) as `context.device.id`. Some destinations rely on this field being the Android ID, so double check the destinations' vendor documentation if you choose to override the default value.
27+
Segment also generates a unique ID by using the [DRM API](https://source.android.com/devices/drm) as `context.device.id`. Some destinations rely on this field being the Android ID, so be sure to double-check the destination's vendor documentation. If you choose to override the default value, make sure the identifier you choose complies with Google's [User Data Policy](https://support.google.com/googleplay/android-developer/answer/10144311).
28+
29+
> warning ""
30+
> **Note:** From `4.10.1`, Segment no longer collects the [Android ID](http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID) to comply with Google's [User Data Policy](https://support.google.com/googleplay/android-developer/answer/10144311).
2831
2932
## API call queuing in Analytics-Android
3033

0 commit comments

Comments
 (0)