launchdarkly/react-native-client-sdk

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

Opened this issue · 1 comments

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)

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.