I am making some changes in a third party pods for react native app. I added a function in the pod and add to the RCT_EXTERN_MODULE using RCT_EXTERN_METHOD. But it is showing error when I reload the app.
Code:
@objc func enableLocalVideoRecording() { // Do my stuff here}RCT_EXTERN_METHOD(enableLocalVideoRecording)In React native code
await newRtcEngine.enableLocalVideoRecording()await newRtcEngine.enableVideo()await newRtcEngine.joinChannel(null, channelId, null, 0)If I comment the line await newRtcEngine.enableLocalVideoRecording() it runs correctly. enableVideo and joinChannel are in same file as of enableLocalVideoRecording.
Do I have to start yarn again?