Skip to content
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

react-native-client-sdk version 8.0.2 does not seem to support react-native 0.70 on android #243

Open
vbmaarten opened this issue Feb 1, 2024 · 1 comment

Comments

@vbmaarten
Copy link

vbmaarten commented Feb 1, 2024

Is this a support request?
No

Describe the bug
Version 8.0.2 (and it seems likely to be 8.x) of the react-native sdk does not seem to support react-native 0.70. This page describes that sdk version 8.0.2 should support react-native 0.69 through 0.72.

To reproduce
Create an app using react-native 0.70.6 and launchdarkly-react-native-client-sdk 8.0.2.

I've created a repository with this setup:
https://github.com/vbmaarten/rn0.70-ld8.0.2

Expected behavior
An android app with launch-darkly should compile succesfully.

Logs

* What went wrong:
Could not determine the dependencies of task ':launchdarkly-react-native-client-sdk:compileDebugAidl'.
 Could not resolve all task dependencies for configuration ':launchdarkly-react-native-client-sdk:debugCompileClasspath'.
   > Could not find com.facebook.react:react-android:0.72.7.
     Required by:
         project :launchdarkly-react-native-client-sdk

SDK version
8.0.2

Language version, developer tools
React-native 0.70.6

OS/platform
Mac OS Sonoma 14.2.1 (23C71)

@louis-launchdarkly
Copy link
Contributor

Hello @vbmaarten, thank you for reaching out and reporting this issue. We are looking into the gradle file to see if can we conditionally build the 8.x SDK (as React Native had changed the android library location between version 0.70 and version 0.71). If we can't fix the build, we will update the readme to say 8.x is only compatible with RN 0.71 and 0.72, and 0.70 users should use 7.x instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants