Steps:
- Launch (hybrid) android app, join a zoom meeting instance
- During the ongoing zoom call, put the app in background
- Notice that the zoom call switches to PiP mode.
At this point, our app’s MainActivity (which hosts the webview) is getting destroyed. Thus if we maximise the zoom call and say press leave meeting, our app wont show after leaving the meeting. We will have to relaunch the MainActivity instance to show it.
We have done the following settings to the zoom call before joining the meeting :
zoomUIService.enableMinimizeMeeting(true);
zoomUIService.disablePIPMode(false);
zoomUIService.setNewMeetingUI (NewZoomMeetingActivity.class)
(Where NewZoomMeetingActivity extends NewMeetingActivity)
Activity Stack Info :
- When zoom call in progress :
- NewZoomMeetingActivity
- MainActivity
- When we put the ongoing zoom call to background : (See we dont have the MainActivity instance)
- com.zipow.videobox.conference.ui.ZmConfPipActivity
- NewZoomMeetingActivity
Please suggest how to keep the MainActivity instance alive when we put an ongoing zoom meeting to background.
android version tested - android 13