useEffect(() => {
const _call = client?.call('default', callId);
_call
?.join({create: true})
.then(() => {
console.log("Call created successfully");
setCall(_call) //App gets crashed when I set _call in state
})
}, [client, callId]);
I tried following the guideline for react native but in the end when I set call in state. App is getting crashed.
To Reproduce
Steps to reproduce the behavior:
I tried to create reproduction in separate project. It was working correctly there. My new project was on react-native 0.76.2. I'm thinking maybe that's the reason but I'm not sure.
Expected behavior
Video call should get starts after running above code snippet.
Screenshots
If applicable, add screenshots to help explain your problem.
Version
SDK version
"@stream-io/video-react-native-sdk": "^1.3.5",
@stream-io/react-native-webrtc: ^124.0.2
Env:
Fill out what's applicable
React Native
react-native: 0.74.3
OS: android
Device or emulator: Vivo v21e
Node JS client
Node version 20.12.0
Additional context
It seems some compatibility issue of sdk with react-native 0.74.3 because it worked on 0.76.2.
Which package/packages do you use?
@stream-io/video-react-native-sdk
Describe the bug
I tried following the guideline for react native but in the end when I set call in state. App is getting crashed.
To Reproduce Steps to reproduce the behavior:
I tried to create reproduction in separate project. It was working correctly there. My new project was on react-native 0.76.2. I'm thinking maybe that's the reason but I'm not sure.
Expected behavior Video call should get starts after running above code snippet.
Screenshots If applicable, add screenshots to help explain your problem.
Version
Env:
Fill out what's applicable
React Native react-native: 0.74.3
Node JS client
Additional context It seems some compatibility issue of sdk with react-native 0.74.3 because it worked on 0.76.2.