-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does react-native-client-sdk (v10) support expo web? #263
Comments
Hello @QuanGao-osmind, we will look into turning off |
Also, if you don't mind, could you post this to https://github.com/launchdarkly/js-core? That is where the RN SDK v10 (and beyond) lives. |
Hello @louis-launchdarkly thank you for the reply! I will post issues related to react-native-client-sdk to the other repo you suggested! |
Describe the bug
We have an expo project that we are targeting both mobile and web platforms. The react-native-client-sdk works well on mobile but crashes in web.
This is the error I see:
which traces to this code in
autoEnv
, seems likePlatform.constants
is undefined somehow.To reproduce
Follow the SDK doc to initialize LD client and identify user.
Expected behavior
Expect
react-native-client-sdk
to work on all platforms expo support (Android, IOS, web)SDK version
10.1.3
OS/platform
Web browser: Chrome Version 124.0.6367.62
Any insights are greatly appreciated, thank you!
The text was updated successfully, but these errors were encountered: