I'm developing an application which uses a custom SDK to initiate a 1 to 1 video call, I implemented the SDK natively on iOS using swift & it worked properly, however, when I made a native module wrapper for react-native, I was able to run the native screen, present the view controller on top of react-native & initiate the call from client's side, however, once I accept the call from agent's side ( which is an online portal ), The app crashes with this error:
network_thread 0x0x10999ecc0 (26): EXC_BAD_ACCESS (code=2, address=0x1059a1490)
I couldn't find anything useful in the logs once the app crashes.
I believe this framework is using WebRTC to achieve this, however, I cannot share the framework.
I looked this up for hours & couldn't find anything similar.