Disable Gallery view as well as background run

I have Two questions:
1- in the iOS SDK, how do we disable gallery view?
2- in the Android SDK, how do we disable running in background? When user clicks on home button on device, we want the user to leave the Zoom Meeting

Hi techies23,

Thanks for using Zoom SDK. Regarding your questions:

  1. Unfortunately, Disabling gallery view on iOS SDK is not supported.
  2. You can implement the listener that detects whether the app is in foreground or background, such as onPause/onResume or onAppBackgrounded/onAppForegrounded(if you are using Lifecycle), there are multiple ways to detect this behavior. Once the event is triggered, call leaveCurrentMeeting(boolean) method in Zoom SDK to leave the meeting.

Let me know if you have any other questions.Thanks!

Hi Carson,

Thank you for the response. However, few questions again:

  1. OK for iOS
  2. I might not be properly understanding the situation but my current problem seems to be “Once the meeting is started, zoom SDK opens its own activity in the app. So, is there a way i can handle zoom activity’s back and home buttons. Also, to be pointed is that onPause/onResume methods are not being triggered when zoom activity is started.”

Please suggest. Thank you !

Hi techies23,

Thanks for the reply. I see your point. The onPause/onResume methods are not being triggered because they are not in the Zoom meeting activity. Our Android SDK does not natively support this feature. Google does not allow adding a listener on the home buttons(for security concerns), all you can do is to detect whether your app is in the foreground or in the background. When your app is in the background, call the LeaveCurrentMeeting(true) method to force the user to leave the meeting.

Here are some links that could possibly helpful:

  1. https://medium.com/@egek92/how-to-actually-detect-foreground-background-changes-in-your-android-application-without-wanting-9719cc822c48
  2. https://developer.android.com/reference/android/app/Activity.html#onUserLeaveHint()
  3. https://developer.android.com/reference/android/arch/lifecycle/ProcessLifecycleOwner.html
  4. https://proandroiddev.com/react-to-app-foreground-and-background-events-with-processlifecycleowner-96278e5816fa

Hope this help. Thanks!

Hi @carson.zoom,

any possibility now to disable gallery view in ios?

1 Like

@carson.zoom how to switch the view between gallery and active speaker during a meeting?

@techies23 What do you mean by disabling gallery view?

I want to switch between active speaker and gallery view. Is this possible? We can’t find it. I can’t believe that the SDK would not support this kind of basic functionality.

Hi iOS-Dev-Work,

Yes, it is possible to disable gallery view in iOS under Zoom default UI now, you may use the interface here: https://zoom.github.io/zoom-sdk-ios/interface_mobile_r_t_c_meeting_settings.html#a2a0e32998c84bf5b7862cfb1ee7bc0e3

Hope this helps. Thanks!

@carson.zoom --> Can this be done when meeting is in progress? How we can switch between active speaker view and wall / gallery?

You can only disable the gallery view before the meeting starts. If you would like to switch between active speaker view and gallery view, you may swipe left or right on the screen. Thanks!

I don’t want to disable anything. I want the Mobile iOS SDK to support switching between the active speaker and gallery view during the meeting.

As I mentioned above:

and as I have replied to you in one of the other posts: Currently we do not have an interface to do this programmatically, I will submit a feature request for this.

Thanks

@carson.zoom Can you please give us a timeline when we can expect that enhancement. We urgently need the ability to change the view in iOS. And no we don’t want to write and draw from scratch :laughing:

Hi @tmiskiew,

I wish I could tell you but unfortunately I do not have an ETA at the moment. I have forwarded this enhancement request to the engineering team, but due to the limited bandwidth, the exact timeline for this enhancement in Zoom default UI is not available at the moment. I will let you know once I heard any update regarding this. I won’t forget you. :slight_smile:

Thanks!

Thanks @carson.zoom

I’m having a hard time to understand why so many essential / basic zoom features have been left out in the SDK. No Gallery view in the iOS SDK, no reaction, just to name a few. Not fun to be honest…