Putting ongoing zoom meeting to background on Android finishes the MainActivity(our app's instance) for hybrid cordova android app

Steps:

  1. Launch (hybrid) android app, join a zoom meeting instance
  2. During the ongoing zoom call, put the app in background
  3. 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 :
    1. NewZoomMeetingActivity
    2. MainActivity
  • When we put the ongoing zoom call to background : (See we dont have the MainActivity instance)
    1. com.zipow.videobox.conference.ui.ZmConfPipActivity
    2. NewZoomMeetingActivity

Please suggest how to keep the MainActivity instance alive when we put an ongoing zoom meeting to background.

android version tested - android 13

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.