Skip to content

Commit 1dbd432

Browse files
author
Niall Brennan
committed
add info for adid
1 parent 54369e6 commit 1dbd432

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,10 +500,10 @@ Segment supports a large number of [Cloud-mode](/docs/connections/destinations/#
500500
- [Facebook App Events](https://www.npmjs.com/package/@segment/analytics-react-native-plugin-facebook-app-events){:target="_blank"}
501501
- [Firebase](https://www.npmjs.com/package/@segment/analytics-react-native-plugin-firebase){:target="_blank"}
502502
503-
## Device Identifiers
503+
## Device identifiers
504504
On Android, Segment's React Native library generates a unique ID by using the DRM API 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 using a plugin, make sure the identifier you choose complies with Google’s User Data Policy. For iOS the context.device.id is set the IDFV.
505505
506-
To collect the Android Advertising ID provided by Play Services, Segment provides a [plugin](https://github.com/segmentio/analytics-react-native/tree/master/packages/plugins/plugin-advertising-id) that can be used to collecte that value. This value is set to context.device.advertisingId. For iOS, this [plugin](https://github.com/segmentio/analytics-react-native/tree/master/packages/plugins/plugin-idfa) can be used to set the IDFA context.device.advertisingId property.
506+
To collect the Android Advertising ID provided by Play Services, Segment provides a [plugin](https://github.com/segmentio/analytics-react-native/tree/master/packages/plugins/plugin-advertising-id) that can be used to collect that value. This value is set to context.device.advertisingId. For iOS, this [plugin](https://github.com/segmentio/analytics-react-native/tree/master/packages/plugins/plugin-idfa) can be used to set the IDFA context.device.advertisingId property.
507507
508508
## FAQs
509509
### Can I use the catalog of device-mode destinations from Segment's 1.X.X React-Native release?

0 commit comments

Comments
 (0)