# Android SDK unexpected minimizeMeeting functionality (exits the app)

**URL:** <https://devforum.zoom.us/t/android-sdk-unexpected-minimizemeeting-functionality-exits-the-app/46849>\
**Category:** Android\
**Created:** [March 29, 2021, 4:20pm UTC](https://devforum.zoom.us/t/android-sdk-unexpected-minimizemeeting-functionality-exits-the-app/46849 "2021-03-29T16:20:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![frida](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/frida/32/25226_2.png) [@frida](https://devforum.zoom.us/u/frida)\
**Post date:** [March 29, 2021, 4:20pm UTC](https://devforum.zoom.us/t/android-sdk-unexpected-minimizemeeting-functionality-exits-the-app/46849/1 "2021-03-29T16:20:26Z")

</div>

**Description**  
Hello!  
I’ve been working with the android and iOS SDK. More specifically and recently - on minimizing video calls.  
I am currently developing a react native application and have been using a react native bridge to integrate the native SDKs. On Android I am using the `enableMinimize` method to allow a user to minimize the video call. Upon clicking “minimize meeting” - the call does successfully minimize but it also exits out of my react native app and goes to the android home screen. Is this something I can somehow prevent? Why would it take over the app and exit to minimize the video call?  
I don’t receive an error in the logs, so I assume it may be built in to behave this way. However it is not an ideal user experience to have them kicked out of the app. Any guidance on how I can make it so the android SDK does not exit the app and simply minimizes would be greatly appreciated.

On iOS there is an existing `minimizeMeeting` method that actually allows for me to dynamically minimize the call for the user (not just enable the user to minimize). I wanted to double check that this is not an available feature on android without using the custom UI. In iOS it does not exit the react native application like android does.

**Which Android Video SDK version?**  
Latest - v5.4.3.613

**Screenshots**

**Android current functionality (not working as expected)**

 ![Screenshot_1617033552](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/d/adf525aa51d003dc5c4c0f0a132d6b81f18a927c.png)

**Smartphone (please complete the following information):**

- Device: Pixel 5
- OS: Android 11

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [March 29, 2021, 5:58pm UTC](https://devforum.zoom.us/t/android-sdk-unexpected-minimizemeeting-functionality-exits-the-app/46849/2 "2021-03-29T17:58:29Z")

</div>

Hi @frida, thanks for using the dev forum.

Please note that I have moved this post over to the #mobile-client-sdk:android category as your question appears to be related to the Client SDK. 🙂

In order to get more control over the behavior of the minimized meeting, you would need to implement a custom meeting UI.

Also, there is currently no way to programmatically minimize the meeting, but we can submit a feature request and investigate adding this in a future release.

Thanks!

---

<div class="post-metadata">

**Author:** ![frida](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/frida/32/25226_2.png) [@frida](https://devforum.zoom.us/u/frida)\
**Post date:** [March 29, 2021, 6:26pm UTC](https://devforum.zoom.us/t/android-sdk-unexpected-minimizemeeting-functionality-exits-the-app/46849/3 "2021-03-29T18:26:20Z")

</div>

> Also, there is currently no way to programmatically minimize the meeting, but we can submit a feature request and investigate adding this in a future release.

Thanks! It would be great to have this feature on a future release.

As far as implementing the minimization with the custom meeting UI, is there more information you (or anyone) can give me on why the call to minimize exits my application and how I could potentially prevent that?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [March 29, 2021, 9:57pm UTC](https://devforum.zoom.us/t/android-sdk-unexpected-minimizemeeting-functionality-exits-the-app/46849/4 "2021-03-29T21:57:04Z")

</div>

Hi @frida,

> why the call to minimize exits my application and how I could potentially prevent that?

Can you please provide the Android version, device model, and SDK version you are seeing this behavior on?

Thanks!

---

<div class="post-metadata">

**Author:** ![frida](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/frida/32/25226_2.png) [@frida](https://devforum.zoom.us/u/frida)\
**Post date:** [March 29, 2021, 11:22pm UTC](https://devforum.zoom.us/t/android-sdk-unexpected-minimizemeeting-functionality-exits-the-app/46849/5 "2021-03-29T23:22:41Z")

</div>

Surely, here you go!  
Android 11.0  
Pixel 3 (Emulator, full name: Pixel\_3a\_API\_30\_x86)  
SDK - Latest: v5.4.3.613

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [March 30, 2021, 5:06pm UTC](https://devforum.zoom.us/t/android-sdk-unexpected-minimizemeeting-functionality-exits-the-app/46849/6 "2021-03-30T17:06:31Z")

</div>

Hi @frida,

I have not been able to reproduce the behavior you are describing on any device, including the emulator. Can you try reproducing with the sample app and let me know if you are seeing the app close still?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 30, 2021, 3:07am UTC](https://devforum.zoom.us/t/android-sdk-unexpected-minimizemeeting-functionality-exits-the-app/46849/7 "2021-04-30T03:07:03Z")

</div>

Closed on April 30, 2021, 3:07am UTC

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