React Native Calling Error

I’ve used cometchat pro for react native 2.1.0 beta1 as calling is only available in here at the moment and i was facing an error after call being accepted on the both ends.
Error is as:
TypeError: _AudioMode.default.setMode is not a function This error is located at: in AudioModeButton (at CallingComponent.js:939) …
“react”: “16.11.0”,
“react-native”: “0.62.2”,
@cometchat-pro/react-native-chat”: “^2.1.0-beta1”,

Error on device: simulator running on MacOS Catalina ( version 10.15.4)

Hello @dev,

We have completely re-written our calling component and have released a new beta version of the same. You can update to react-native SDK v2.1.0-beta3.

Warm Regards,

CometChat Pro
Mayur Bhandari

1 Like