mieszko4 / react-native-zoom-us

MIT License
122 stars 115 forks source link

nothing was fired when joinMeeting is triggered #343

Open lamlengend98 opened 3 months ago

lamlengend98 commented 3 months ago

Hello @mieszko4 @mialy Recently, I realized the zoom functionality not working like before. I had error "the mobilertc version is incompatible zoom". After update IOS SDK to 5.14.11.8692 and ZoomUS to 6.20.0, initializing successfully, I call joinMeeting but nothing happens even not catching error

      // Join Meeting
      await ZoomUs.joinMeeting({
        userName: userInfo.name,
        meetingNumber: meetingId ?? '',
        autoConnectAudio: true,
        noAudio: true,
        noButtonLeave: true,
        noMeetingErrorMessage: true, // Set this to be able to show Alert.alert
      })
princetoad1995 commented 3 months ago

Screenshot 2024-02-17 at 02 49 46 I tried use jwtToken in version 6.20.0 but it can't work. nothing happens after calling joinMeeting function

viettranbhtech commented 3 months ago

Make sure you got correct jwtToken @princetoad1995.

princetoad1995 commented 3 months ago

I think maybe the root cause is my jwtToken. But I am not sure where is wrong. How do u can generate jwtToken @viettranbhtech ? By BE or by FE like me?

lamlengend98 commented 3 months ago

I followed rn-zoom-us-test like @princetoad1995, the result is successful. I don't think the cause is jwtoken

lamlengend98 commented 2 months ago

@mieszko4 can you take a look?

viettranbhtech commented 2 months ago

I think maybe the root cause is my jwtToken. But I am not sure where is wrong. How do u can generate jwtToken @viettranbhtech ? By BE or by FE like me?

I get jwtToken from BE @lamlengend98 you can refer to https://devforum.zoom.us/t/auth-sdk-failed-when-running-zoom-sdk-demo/37448/6 create one jwtToken on https://jwt.io/ 56 then try it in app.

lamlengend98 commented 2 months ago

I think maybe the root cause is my jwtToken. But I am not sure where is wrong. How do u can generate jwtToken @viettranbhtech ? By BE or by FE like me?

I get jwtToken from BE @lamlengend98 you can refer to https://devforum.zoom.us/t/auth-sdk-failed-when-running-zoom-sdk-demo/37448/6 create one jwtToken on https://jwt.io/ 56 then try it in app.

I tried this way, generate token and add to initialize function, init successfully. When I joined meeting, the prompt ask the password appear. After inserting the password, nothing happened and there is just a log "Connected to meeting room". I added ZoomUsVideoView component but nothing displayed

princetoad1995 commented 2 months ago

I think maybe the root cause is my jwtToken. But I am not sure where is wrong. How do u can generate jwtToken @viettranbhtech ? By BE or by FE like me?

I get jwtToken from BE @lamlengend98 you can refer to https://devforum.zoom.us/t/auth-sdk-failed-when-running-zoom-sdk-demo/37448/6 create one jwtToken on https://jwt.io/ 56 then try it in app.

thanks @viettranbhtech . I can init and join a Zoom meeting now

khuongphp commented 2 months ago

Pls see the example here. And make sure you are using latest version of this package. I tried this and it worked fine. https://github.com/mieszko4/react-native-zoom-us-test