Seems like there is conflict between 2 classes in these packages.
Is there a way to resolve the build conflict? As I'm using VOIP from Sinch and wanted to implement RTM from Voximplant
duplicate symbol '_OBJC_CLASS_$_CallManager' in:
/Users/xxx/Library/Developer/Xcode/DerivedData/myapp/Build/Products/Debug-iphonesimulator/RNSinchVoip/libRNSinchVoip.a(CallManager-46cc2f4036ee84a9cb2d433ec75a8dae.o)
/Users/xxx/Library/Developer/Xcode/DerivedData/myapp/Build/Products/Debug-iphonesimulator/react-native-voximplant/libreact-native-voximplant.a(CallManager.o)
duplicate symbol '_OBJC_METACLASS_$_CallManager' in:
/Users/xxx/Library/Developer/Xcode/DerivedData/myapp/Build/Products/Debug-iphonesimulator/RNSinchVoip/libRNSinchVoip.a(CallManager-46cc2f4036ee84a9cb2d433ec75a8dae.o)
/Users/xxx/Library/Developer/Xcode/DerivedData/myapp/Build/Products/Debug-iphonesimulator/react-native-voximplant/libreact-native-voximplant.a(CallManager.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Android:
Duplicate class org.webrtc.AndroidVideoDecoder found in modules jetified-sinch-android-rtc-3.17.5-runtime (sinch-android-rtc-3.17.5.aar) and jetified-voximplant-sdk-2.27.0-runtime (com.voximplant:voximplant-sdk:2.27.0)
Duplicate class org.webrtc.AndroidVideoDecoder$1 found in modules jetified-sinch-android-rtc-3.17.5-runtime (sinch-android-rtc-3.17.5.aar) and jetified-voximplant-sdk-2.27.0-runtime (com.voximplant:voximplant-sdk:2.27.0)
Duplicate class org.webrtc.AndroidVideoDecoder$DecodedTextureMetadata found in modules jetified-sinch-android-rtc-3.17.5-runtime (sinch-android-rtc-3.17.5.aar) and jetified-voximplant-sdk-2.27.0-runtime (com.voximplant:voximplant-sdk:2.27.0)
Duplicate class org.webrtc.AndroidVideoDecoder$FrameInfo found in modules jetified-sinch-android-rtc-3.17.5-runtime (sinch-android-rtc-3.17.5.aar) and jetified-voximplant-sdk-2.27.0-runtime (com.voximplant:voximplant-sdk:2.27.0)
Update:
Fix build issue by renaming CallManager->SinchCallManager for RNSinchVoip for iOS, but still can't resolve for Android
Seems like there is conflict between 2 classes in these packages. Is there a way to resolve the build conflict? As I'm using VOIP from Sinch and wanted to implement RTM from Voximplant
https://github.com/gwenoleR/react-native-sinch-voip https://github.com/voximplant/react-native-voximplant
iOS:
Android:
Update: Fix build issue by renaming CallManager->SinchCallManager for RNSinchVoip for iOS, but still can't resolve for Android