From eeead83a6fd958bc3b47cdb4137e338ccfcdb26f Mon Sep 17 00:00:00 2001 From: Niall Brennan Date: Tue, 13 Sep 2022 16:29:42 +0100 Subject: [PATCH 1/3] Add info for uuid --- .../sources/catalog/libraries/mobile/react-native/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/connections/sources/catalog/libraries/mobile/react-native/index.md b/src/connections/sources/catalog/libraries/mobile/react-native/index.md index 261c09c293..2a84892d31 100644 --- a/src/connections/sources/catalog/libraries/mobile/react-native/index.md +++ b/src/connections/sources/catalog/libraries/mobile/react-native/index.md @@ -510,6 +510,8 @@ To collect the Android Advertising ID provided by Play Services, Segment provide No, only the plugins listed above are supported in device-mode for Analytics React Native 2.0. ### Will I still see device-mode integrations listed as `false` in the integrations object? When you successfully package a plugin in device-mode, you won't see the integration listed as `false` in the integrations object for a Segment event. This logic is packaged in the event metadata, and isn't surfaced in the Segment debugger. +### Why are my IDs not set as UUID format? +Due to [issues](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/uuid.ts#L5) with the React Native bridge, Segment does not use UUID format for anonymousIds and messageIds in local development. These IDs will be set to UUID format for your live app. ## Changelog [View the Analytics React Native 2.0 changelog on GitHub](https://github.com/segmentio/analytics-react-native/releases){:target="_blank"}. From df713610fec07adeda8ad8035285bdca6446c8a9 Mon Sep 17 00:00:00 2001 From: stayseesong <83784848+stayseesong@users.noreply.github.com> Date: Tue, 13 Sep 2022 09:10:46 -0700 Subject: [PATCH 2/3] small fixes --- .../sources/catalog/libraries/mobile/react-native/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connections/sources/catalog/libraries/mobile/react-native/index.md b/src/connections/sources/catalog/libraries/mobile/react-native/index.md index 2a84892d31..347ba4292b 100644 --- a/src/connections/sources/catalog/libraries/mobile/react-native/index.md +++ b/src/connections/sources/catalog/libraries/mobile/react-native/index.md @@ -510,8 +510,8 @@ To collect the Android Advertising ID provided by Play Services, Segment provide No, only the plugins listed above are supported in device-mode for Analytics React Native 2.0. ### Will I still see device-mode integrations listed as `false` in the integrations object? When you successfully package a plugin in device-mode, you won't see the integration listed as `false` in the integrations object for a Segment event. This logic is packaged in the event metadata, and isn't surfaced in the Segment debugger. -### Why are my IDs not set as UUID format? -Due to [issues](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/uuid.ts#L5) with the React Native bridge, Segment does not use UUID format for anonymousIds and messageIds in local development. These IDs will be set to UUID format for your live app. +### Why are my IDs not set in UUID format? +Due to [issues](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/uuid.ts#L5){:target="_blank"} with the React Native bridge, Segment doesn't use UUID format for `anonymousId`s and `messageId`s in local development. These IDs will be set in UUID format for your live app. ## Changelog [View the Analytics React Native 2.0 changelog on GitHub](https://github.com/segmentio/analytics-react-native/releases){:target="_blank"}. From d0db450ab571e415c2e271ae1115584ff4b6decb Mon Sep 17 00:00:00 2001 From: stayseesong <83784848+stayseesong@users.noreply.github.com> Date: Tue, 13 Sep 2022 09:15:57 -0700 Subject: [PATCH 3/3] Update src/connections/sources/catalog/libraries/mobile/react-native/index.md --- .../sources/catalog/libraries/mobile/react-native/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connections/sources/catalog/libraries/mobile/react-native/index.md b/src/connections/sources/catalog/libraries/mobile/react-native/index.md index 347ba4292b..cd1e18fcaa 100644 --- a/src/connections/sources/catalog/libraries/mobile/react-native/index.md +++ b/src/connections/sources/catalog/libraries/mobile/react-native/index.md @@ -511,7 +511,7 @@ No, only the plugins listed above are supported in device-mode for Analytics Rea ### Will I still see device-mode integrations listed as `false` in the integrations object? When you successfully package a plugin in device-mode, you won't see the integration listed as `false` in the integrations object for a Segment event. This logic is packaged in the event metadata, and isn't surfaced in the Segment debugger. ### Why are my IDs not set in UUID format? -Due to [issues](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/uuid.ts#L5){:target="_blank"} with the React Native bridge, Segment doesn't use UUID format for `anonymousId`s and `messageId`s in local development. These IDs will be set in UUID format for your live app. +Due to [limitations](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/uuid.ts#L5){:target="_blank"} with the React Native bridge, Segment doesn't use UUID format for `anonymousId`s and `messageId`s in local development. These IDs will be set in UUID format for your live app. ## Changelog [View the Analytics React Native 2.0 changelog on GitHub](https://github.com/segmentio/analytics-react-native/releases){:target="_blank"}.