mieszko4 / react-native-zoom-us

MIT License
126 stars 118 forks source link

[Android] End_meeting_for_all reopen zoom again and stop in (Preparing meeting) #338

Open AhmedAliEldiasty1 opened 9 months ago

AhmedAliEldiasty1 commented 9 months ago

Hello, When I end meeting for all in these days It close the meeting successfully then it opened it again. this problem happens in various versions like RNZoomUs - 6.20.0 and 6.19.0

moYousefAlarand commented 9 months ago

I have the same issue when build release. It's working correctly with debug mode

dnhuy commented 6 months ago

in RNZoomUsModule.java -> method onHostResume() sometime value meetingService.getMeetingStatus() is MEETING_STATUS_INMEETING (i don't know why) so will call meetingService.returnToMeeting(reactContext.getCurrentActivity());

so i think add condition check meetingPromise != null if(!staleMeetingStatuses.contains(meetingService.getMeetingStatus()) && meetingPromise != null) { Log.i(TAG, "onHostResume, returning to meeting"); meetingService.returnToMeeting(reactContext.getCurrentActivity()); }

svaishnani commented 5 months ago

in RNZoomUsModule.java -> method onHostResume() sometime value meetingService.getMeetingStatus() is MEETING_STATUS_INMEETING (i don't know why) so will call meetingService.returnToMeeting(reactContext.getCurrentActivity());

so i think add condition check meetingPromise != null if(!staleMeetingStatuses.contains(meetingService.getMeetingStatus()) && meetingPromise != null) { Log.i(TAG, "onHostResume, returning to meeting"); meetingService.returnToMeeting(reactContext.getCurrentActivity()); }

above solution working fine

mieszko4 commented 2 months ago

Feel free to submit a PR with your fix.