# How to handle users hard closing while in session

**URL:** <https://devforum.zoom.us/t/how-to-handle-users-hard-closing-while-in-session/132289>\
**Category:** React Native\
**Created:** [May 2, 2025, 10:43pm UTC](https://devforum.zoom.us/t/how-to-handle-users-hard-closing-while-in-session/132289 "2025-05-02T22:43:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon-L](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon-l/32/55248_2.png) [@Jon-L](https://devforum.zoom.us/u/Jon-L)\
**Post date:** [May 2, 2025, 10:43pm UTC](https://devforum.zoom.us/t/how-to-handle-users-hard-closing-while-in-session/132289/1 "2025-05-02T22:43:17Z")

</div>

My team is unclear on how to handle if a user hard closes the React Native app while actively in a Zoom session. At the moment in our app, the user appears to remain in the session for a few minutes while in failover.  
Is there any way to set things up so that if a user hard closes the app, they immediately leave the Zoom session?

Appreciate any guidance here.

---

<div class="post-metadata">

**Author:** ![ticorrian.heard](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ticorrian.heard/32/70213_2.png) [@ticorrian.heard](https://devforum.zoom.us/u/ticorrian.heard)\
**Post date:** [May 23, 2025, 8:47pm UTC](https://devforum.zoom.us/t/how-to-handle-users-hard-closing-while-in-session/132289/3 "2025-05-23T20:47:41Z")

</div>

Hi @Jon-L, I can assist with this. In other platforms, like web for example, the MMR server depends on signals from the SDK to know when to fire certain events. For on close the signals are heartbeats sent via websocket. When closing out of browser or tab without clicking the end or leave button, The SDK does not have a chance to signal to the MMR that event should be fired so the MMR has to depend on the lack of a heartbeat signal to determine that the user is no longer in the session and falls back to the failover flow. This logic might be mirrored in the React Native side but to be doubly sure, Ill consult with my team and let you know.

---

<div class="post-metadata">

**Author:** ![Jon-L](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon-l/32/55248_2.png) [@Jon-L](https://devforum.zoom.us/u/Jon-L)\
**Post date:** [May 23, 2025, 9:16pm UTC](https://devforum.zoom.us/t/how-to-handle-users-hard-closing-while-in-session/132289/4 "2025-05-23T21:16:57Z")

</div>

Thanks Ticorrian. I assumed that it probably wasn’t possible so that’s good to know.

This answer makes the other question I posted recently even more important for us. If we could get some guidance on this one it would be much appreciated! [Detecting Failover Users](https://devforum.zoom.us/t/detecting-failover-users/132818)

---

<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:** [May 23, 2026, 9:17pm UTC](https://devforum.zoom.us/t/how-to-handle-users-hard-closing-while-in-session/132289/5 "2026-05-23T21:17:40Z")

</div>

Closed on May 23, 2026, 9:17pm UTC

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