Skip to content

Commit 32d1f09

Browse files
authored
chore: Added warning about Flipper identify issue on Android. (#398)
1 parent 9211fea commit 32d1f09

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/sdk/react-native/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ It is implemented purely in JS and supports Expo. Please consider updating your
1515

1616
For more information, see the [complete reference guide for this SDK](https://docs.launchdarkly.com/sdk/client-side/react-native).
1717

18+
## Known Android identify issue
19+
On Android, Flipper interferes with the SDK's streaming connections. As a result the `identify` call never resolves. The long term solution is the removal of Flipper from react-native. The Facebook team are [working on this](https://reactnative.dev/blog/2023/12/06/0.73-debugging-improvements-stable-symlinks#flipper--react-native-integration).
20+
21+
In the meantime, we recommend one of these workarounds:
22+
23+
- If you are using Expo, you'll need to do a native build in release `expo run:android --variant release`.
24+
25+
- If you are using Expo and want to debug and hot reload, you'll need to do a native build in debug `expo run:android --variant debug` and then go to the `android` folder and manually find and remove all references to flipper. This is a [reported issue](https://github.com/facebook/flipper/issues/1326#issuecomment-652946496) in the Flipper repo.
26+
27+
- If you are using the expo-go app on Android, unfortunately there is no known easy way to disable Flipper in Expo Go. Please use one of two previous native build options.
28+
29+
- If you are not using Expo, go to the `android` folder and manually find and remove all references to flipper.
30+
1831
## Install
1932

2033
```shell

0 commit comments

Comments
 (0)