leaveCurrentMeeting(true) restarts the Zoom activity
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