leaveCurrentMeeting(true) restarts the Zoom activity | Community
Skip to main content
Newcomer
November 1, 2021
Question

leaveCurrentMeeting(true) restarts the Zoom activity

  • November 1, 2021
  • 1 reply
  • 1 view

first i call mMeetingService?.leaveCurrentMeeting(true)

 

right after that i check status it gives - MEETING_STATUS_DISCONNECTING

 

inside onMeetingLeaveComplete it returns  0

 

i then end this zoom activity and go to start activity

 

lifecycleScope.launch {
delay(1000)
val intent = Intent(this@MyMeetingActivity, GettingStartedActivity::class.java)
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP or Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK)
startActivity(intent)
finish()
}

after connecting 2 / 3 times to zoom it reopens zoom activity on its own and i checked the status in onCreate its giving MEETING_STATUS_IDLE even though i'm calling leaveCurrentMeeting(true)

 

please help

thanks in advance

    1 reply

    Community Manager
    November 4, 2021

    Hey @DeepShah, I'd recommend submitting this post to our developer forum found here: https://devforum.zoom.us/. Let me know if you get the answer you need from there! In the meantime, I welcome any experts out there to chime in with a helpful response or proposed solution to @user’s question  🙂.