Skip to content

Commit 91fe646

Browse files
authored
Merge pull request #287 from segmentio/repo-sync
repo sync
2 parents fabe887 + f0807f3 commit 91fe646

File tree

2 files changed

+2
-2
lines changed
  • src/connections/sources/catalog/libraries/mobile

2 files changed

+2
-2
lines changed

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

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

2424
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`.
2525

26-
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).
26+
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). **Note:** If this ID didn't generate previously (for example, because the app was newly installed or updated from an older version), an empty string shows before the ID generation completes.
2727

2828
> warning ""
2929
> **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).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To get started with the Analytics-Kotlin mobile library:
6868
`application` | Default set to `null`. <br> The application specific object (in the case of `Android: ApplicationContext`).
6969
`apiHost` | Default set to `api.segment.io/v1`. <br> This sets a default API Host to which Segment sends events. |
7070
`autoAddSegmentDestination` | Default set to `true`. <br> This automatically adds the Segment Destination plugin. You can set this to `false` if you want to manually add the Segment Destination plugin. |
71-
`collectDeviceId` | Default set to `false`. <br> Set to `true` to automatically collect the device Id. |
71+
`collectDeviceId` | Default set to `false`. <br> Set to `true` to automatically collect the device Id. <br> The [DRM API](https://source.android.com/devices/drm) generates the device ID. If the ID didn't generate previously (for example, because the app was newly installed), an empty string shows before the ID generation completes. You can overwrite the device ID with a custom ID by writing your own [`plugin`](#plugin) |
7272
`defaultSettings` | Default set to `{}`. <br> The settings object used as fallback in case of network failure. |
7373
`flushAt` | Default set to `20`. <br> The count of events at which Segment flushes events. |
7474
`flushInterval` | Default set to `30` (seconds). <br> The interval in seconds at which Segment flushes events. |

0 commit comments

Comments
 (0)