Zoom meeting Android "<" back button press destroys the MainActivity ( where WebView is hosted for ionic android app)

Steps:

  1. Join zoom meeting with joinMeeting
  2. Press “<” to minimise the ongoing call
  3. See that the call minimises, we see its PiP view and see our app screen too
  4. Maximise the zoom call
  5. Again minimise it,
  6. Now see that we see the PiP zoom call BUT we do not see our app screen (as it is getting destroyed)

Our app is a hybrid android cordova app, we have applied the setting to save the webview instance from getting destroyed.

disableClearWebKitCache(true);

With this setting, the MainActivity(which hosts the WebView) is saved from getting destroyed for the first time. But when we maximise the meeting again and then again press back, the app (MainActivity instance) gets destroyed.

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 :

  • When zoom call in progress

    1. NewZoomMeetingActivity
    2. MainActivity
  • When we press “<” call to minimise → our app is shown and call is shown in PiP

    1. com.zipow.videobox.conference.ui.ZmConfPipActivity
    2. MainActivity
    3. NewZoomMeetingActivity
  • Maximise the zoom call

    • NewZoomMeetingActivity
    • MainActivity
  • Again press “<” to minimise the zoom call

    1. com.zipow.videobox.conference.ui.ZmConfPipActivity
    2. NewZoomMeetingActivity

Our app instance is destroyed and if we maximise and then leave meeting we dont see our app until we relaunch it.

Please suggest a way by which zoom wont end the app/activity instance when switching to PiP mode.

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