diff --git a/docs/sdk/client-side-sdks/react-native/react-native-expo-install.md b/docs/sdk/client-side-sdks/react-native/react-native-expo-install.md index bfd1085e..b32e6802 100644 --- a/docs/sdk/client-side-sdks/react-native/react-native-expo-install.md +++ b/docs/sdk/client-side-sdks/react-native/react-native-expo-install.md @@ -38,13 +38,13 @@ Install the SDK dependencies, run the following command ### npx ```bash -npx expo install @react-native-async-storage/async-storage react-native-get-random-values react-native-device-info +npx expo install @react-native-async-storage/async-storage react-native-get-random-values react-native-device-info react-native-sse ``` ### yarn ```bash -yarn expo install @react-native-async-storage/async-storage react-native-get-random-values react-native-device-info +yarn expo install @react-native-async-storage/async-storage react-native-get-random-values react-native-device-info react-native-sse ``` ## Install Pods @@ -58,6 +58,7 @@ npx pod-install The [@react-native-async-storage/async-storage](https://www.npmjs.com/package/@react-native-async-storage/async-storage) package provides the ability to leverage on Device Storage that is used for caching by the SDK. The [react-native-get-random-values](https://www.npmjs.com/package/react-native-get-random-values) package provides a polyfill for cryptographic functionality used to generate random IDs. The [react-native-device-info](https://www.npmjs.com/package/react-native-device-info) package provides information about the current device running the SDK, which is required to correctly apply targeting rules. +The [react-native-sse](https://www.npmjs.com/package/react-native-sse) package provides SSE connection functionality to enable real-time updates. [//]: # (wizard-initialize-start) diff --git a/docs/sdk/client-side-sdks/react-native/react-native-install.md b/docs/sdk/client-side-sdks/react-native/react-native-install.md index ad89e2ed..452504fb 100644 --- a/docs/sdk/client-side-sdks/react-native/react-native-install.md +++ b/docs/sdk/client-side-sdks/react-native/react-native-install.md @@ -38,13 +38,13 @@ Install the SDK dependencies, run the following command ### npm ```bash -npm install --save @react-native-async-storage/async-storage react-native-get-random-values react-native-device-info +npm install --save @react-native-async-storage/async-storage react-native-get-random-values react-native-device-info react-native-sse ``` ### yarn ```bash -yarn add @react-native-async-storage/async-storage react-native-get-random-values react-native-device-info +yarn add @react-native-async-storage/async-storage react-native-get-random-values react-native-device-info react-native-sse ``` ## Install Pods @@ -58,6 +58,7 @@ npx pod-install The [@react-native-async-storage/async-storage](https://www.npmjs.com/package/@react-native-async-storage/async-storage) package provides the ability to leverage on Device Storage that is used for caching by the SDK. The [react-native-get-random-values](https://www.npmjs.com/package/react-native-get-random-values) package provides a polyfill for cryptographic functionality used to generate random IDs. The [react-native-device-info](https://www.npmjs.com/package/react-native-device-info) package provides information about the current device running the SDK, which is required to correctly apply targeting rules. +The [react-native-sse](https://www.npmjs.com/package/react-native-sse) package provides SSE connection functionality to enable real-time updates. [//]: # (wizard-initialize-start) diff --git a/docs/sdk/client-side-sdks/react-native/react-native.md b/docs/sdk/client-side-sdks/react-native/react-native.md index 5acb3733..dee67079 100644 --- a/docs/sdk/client-side-sdks/react-native/react-native.md +++ b/docs/sdk/client-side-sdks/react-native/react-native.md @@ -33,6 +33,12 @@ The React Native SDK is available as a package on npm. A separate React Native E This SDK is compatible with _React Native_ version 0.64.0 and above. +:::warning + +If you are using [Flipper](https://fbflipper.com/) with React Native versions below `0.75.0`, SSE connections (which power real-time updates) will not work on Android unless Flipper is disabled. See [this issue](https://github.com/binaryminds/react-native-sse/issues/61) for more information. + +::: + ## React Native Web To get your React Native Web working with DevCycle, you will need to change one of the rules in the webpack config to include `.cjs` files as one of the file types to be transpiled, e.g.: