1

I have integrated the 'react-native-webrtc' package into my React Native application for video call functionality. While it works perfectly on the iOS simulator, I encountered an issue when testing it on my Android device. Whenever i open my application, I receive the following error:

"null is not an object (evaluating webrtcmodule.sendergetcapabilities)"

I have installed it using "npm install react-native-webrtc"

here is image Screenshot

How can i fix this issue.

5
  • That's very weird. console.log(typeof null) would always result in object. Commented Aug 2, 2023 at 13:12
  • 1
    The error means that WebRTCModule is null. Commented Aug 2, 2023 at 13:14
  • @Pointy yeah but i dont know why, because i didnt find anything about it Commented Aug 2, 2023 at 17:29
  • Well why do you think that WebRTCModule should be defined? Commented Aug 2, 2023 at 18:36
  • Please provide enough code so others can better understand or reproduce the problem. Commented Aug 3, 2023 at 4:54

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.