React Native app on Android device is automatically closed after open the camera

using

  • react native 0.72.4
  • @api.video/react-native-livestream 1.2.4
  • android 13

Here is the error I found on Logcat

FATAL EXCEPTION: main
Process: com.amityreactnativesocialuikitexample, PID: 2350
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "SSL_CTX_use_certificate_chain_file" referenced by "/data/app/~~Q03upujWQEPCBvtldnTzZw==/com.amityreactnativesocialuikitexample-oMeqdSm7rcGYyJ-MxNNnKQ==/lib/arm64/librtmp.so"...
at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
at java.lang.Runtime.loadLibrary0(Runtime.java:998)
at java.lang.System.loadLibrary(System.java:1661)
at video.api.rtmpdroid.RtmpNativeLoader.<clinit>(RtmpNativeLoader.kt:9)

Hi,

As written in the README.md:

The React Native Live Stream SDK is designed for 0.69.1 version of React Native. Using the SDK with >0.69.1 of React Native can cause unexpected behaviour

We are working on a new version but it is still a work in progress. For more info about that see: feat(*): add support for new architecture by ThibaultBee · Pull Request #67 · apivideo/api.video-reactnative-live-stream · GitHub

Best regards