Zoom sdk when screen pin lock

Greetings,

  1. Our app is in background state and the device is locked with password/pattern.
  2. We send a push notification from server to the our app.
  3. The app displays an incoming call screen above the lock screen.
  4. The user click on accept call.
  5. We call to zoomSDK.initialize and joinmeeting stepss
  6. The user is asked to enter the password of the device.
  7. The zoom app with the video meeting screen is displayed.

The expected scenario is:

After the user accept call, Zoom app should open without entering the password of the device. It should work as like normal phone calls.

Please help us to fix this issue.

Hi manojfarshore,

Thanks for using Zoom SDK. The behavior you are describing is not a normal Zoom client behavior so you might need to configure it. If you are using Custom UI, below is a code snippet that could make the meeting on top of the lock screen.

this.getWindow().addFlags(
                WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD
                        | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED
                        | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
                        | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);

Hope this helps. Thanks!

We are using the above same code for incoming call custom screen, It does not show video screen when meeting initiated. It ask to unlock.

Hi manojfarshore,

If you using Zoom default UI, it is not supported to make the meeting screen on top of the lock screen, it will require to unlock.

If you are using Custom UI, which is fully customized, you develop all the views, you can use the above code to make the meeting view on top of the meeting screen. Since it is fully customized UI, the views are under your control, you may do what ever you want.

Hope this helps. Thanks!

@Carson_Chen even implementing the custom ui, the zoom sdk does not run from the lock screen. The custom class does not get called. It does when the phone is unlocked but not locked. Is there a way around this?

Hi @j.phillips,

Thanks for the reply. Please see my response in Joining a meeting when the phone is locked.

Thanks!