identify promise never resolves with sdk v10 on android
Closed this issue · 2 comments
Describe the bug
The v10 client does not work on android with expo 50. When I try to identify a user, the promise never resolves.
To reproduce
Try to identify a user using an android device
Expected behavior
The identify function resolves.
Logs
After a while, this logs to the console:
LOG info: [LaunchDarkly] Closed LaunchDarkly stream connection
SDK version
"@launchdarkly/react-native-client-sdk": "^10.0.0",
Language version, developer tools
"expo": "^50.0.6",
"react-native": "^0.73.4",
OS/platform
Android 14
Additional context
I believe the issue may relate to this: #236
It was thought v10 would fix the issue however this doesn't seem to be the case.
Hello @joeyhotz - are you trying to do this in development or a release build? There is a known Flipper issue with Android development documented here: launchdarkly/js-core#375
And given React Native is going to remove Flipper, LaunchDarkly will wait for React Native to fix this. If this happens to your release build, please provide more information by either reach out to LaunchDarkly's support team or create an issue in https://github.com/launchdarkly/js-core
Hi @louis-launchdarkly I think it might be worth mentioning this in the documentation. Took me a lot of time personally to land in this GitHub issue to know that I'm not doing something wrong in my setup.