mieszko4 / react-native-zoom-us

MIT License
122 stars 116 forks source link

Error on ZoomUs.joinMeeting: "[Error: Error: 4, internalErrorCode=0]" #272

Closed tommi97 closed 10 months ago

tommi97 commented 1 year ago

In some Android devices I have the same error when i try to join or start a meeting, with both version 6.15.1 and 6.16.5. IOS work fine.

When i try to join a meeting I recive following event before the "error 4": {"event": "meetingClientIncompatible", "status": "MEETING_STATUS_FAILED"}

How can i resolve this issue in Android?

poojabisht2202 commented 1 year ago

Facing the very same issue from past 1 week

poojabisht2202 commented 1 year ago

Is it related to sdk keys ?

tommi97 commented 1 year ago

no, sdk keys are correct.

6.15.1 version is too old but when I try to use 6.16.5 it will crash the entire app when I use joinMeeting/startMeeting function

poojabisht2202 commented 1 year ago

My app is getting crashed on both versions. Any other update on the issue ?

tommi97 commented 1 year ago

The problem was that the zoom SDK used form the package is too old, so I decide to use this guide: https://stefan-majiros.com/blog/integrating-zoom-sdk-into-react-native/ to implement my custom bridge from React and Zoom SDK to be free to update the zoom SDK.

After following this guide I found some difficulty because the code doesn't work correctly but after some modifications now it works.

When it finally worked, I changed the startMeeting function to accept ZAK authentication instead of JWT because it will be deprecated.

Finally I copied from this package (react-native-zoom-us) some pieces of code to implement some parameters that I used before like: disableShowVideoPreviewWhenJoinMeeting, language and so on...

I hope I was helpful, Good luck! :muscle:

mieszko4 commented 10 months ago

Should be resolved with https://github.com/mieszko4/react-native-zoom-us/issues/281 and https://github.com/mieszko4/react-native-zoom-us/issues/280

mieszko4 commented 10 months ago

Try with 6.18.0 - it uses Android ZoomSDK 5.13.10.