api.video-reactnative-live-stream: [Bug]: Expo SDK 49

Version

v1.2.3

Which operating systems have you used?

  • Android
  • iOS

Environment that reproduces the issue

Any expo build for android.

Is it reproducible in the example application?

No

RTMP Server

192.168.2.28:1935

Reproduction steps

Reproduction: https://github.com/BlueBazze/expo-49-livestream-build-error/tree/master

Trying to build the reproduction throws the error mentioned in the Relevant logs output. Building the reproduction is descriped in the reproductions’ README

Expected result

Build succeeds

Actual result

Build throws the error mentioned in relevant logs output.

Additional context

Trying to use this package with Expo SDK 49 throws the error. SDK 49 runs on React Native version 0.72.3

Haven’t tested iOS

Found this related issue on another RN package: https://github.com/margelo/react-native-quick-crypto/issues/186

At the moment of writing this i would consider this low priority. Google’s latest requirement is android target api 33 which takes effect in 9 days relative to the creation of this github issue. Expo SDK 48 is supported until SDK 50 is released. And SDK 48 is android targeting api 33

Relevant logs output

[stderr] 
FAILURE: Build failed with an exception.

[stderr] 
* What went wrong:

[stderr] 
Execution failed for task ':app:mergeDebugNativeLibs'.

[stderr] 
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction

[stderr] 
   > 2 files found with path 'lib/arm64-v8a/libcrypto.so' from inputs:

[stderr] 
      - /home/expo/.gradle/caches/transforms-3/96aa0437b2be82ab10ada7819631979e/transformed/jetified-flipper-0.182.0/jni/arm64-v8a/libcrypto.so

[stderr] 
- /home/expo/.gradle/caches/transforms-3/4f404765331db8d43fd810e44289770b/transformed/jetified-rtmpdroid-1.0.5/jni/arm64-v8a/libcrypto.so

[stderr] 
     If you are using jniLibs and CMake IMPORTED targets, see

[stderr] 
     https://developer.android.com/r/tools/jniLibs-vs-imported-targets

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (14 by maintainers)

Most upvoted comments

The dev is done. I will tackle a last issue with the Android preview.

But… the release is not ready yet. We are expecting feedbacks/tests from the community before releasing. See #67

I’ve set a few days within the next 10 days for testing, hopefully before this friday. I imagine that ill create a demo expo app that you can have afterwards if you want it.

Since this issue was created Expo has been updated to SDK 50 being the latest at the moment. SDK 50 has updated to React Native 0.73 and support for older versions than SDK 49 has been dropped.

Thanks @BlueBazze for the answer.

As long as Fabric does not support swift and openssl 3, there won’t unfortunately be anything released.

Hi, Thank for reporting this issue. This is something we are aware of but the solution is not easy.

I started to upgrade the project with new architecture and new RN version in https://github.com/apivideo/api.video-reactnative-live-stream/pull/67 But I am kind of stuck for now.