I have a React Native app that related to the VoIP calls. So I am planning to use WebRTC for the app. I am running it with the Expo. I know react-native-webrtc is not directly work with Expo and I am trying to use react-native-webrtc-web-shim because of that. But still it needs react-native-webrtc installed in the project and now I am getting this error when I try to run project with expo run-ios.
ERROR Error: Exception in HostFunction: <unknown>, js engine: hermes
LOG Running "SoftPhone" with {"rootTag":21,"initialProps":{"concurrentRoot":false}}
ERROR Invariant Violation: "SoftPhone" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes
Additional information
React Native version: 0.75.5
Expo Version: 51.0.29
React Native WebRTC version: 124.0.5
Running on MacBook M3 Pro with MacOS 15.3.1 (24D70
Testing on iPhone SE 2 (2020) with iOS 18.3.1