# Sendbird issue while running in release mode

**URL:** <https://community.sendbird.com/t/sendbird-issue-while-running-in-release-mode/6943>\
**Category:** Show & Tell\
**Tags:** group-channel, chatsdk, react-native\
**Created:** [April 3, 2023, 9:40am UTC](https://community.sendbird.com/t/sendbird-issue-while-running-in-release-mode/6943 "2023-04-03T09:40:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nupur\_Sharma](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nupur_sharma/32/3818_2.png) [@Nupur\_Sharma](https://community.sendbird.com/u/Nupur_Sharma)\
**Post date:** [April 3, 2023, 9:40am UTC](https://community.sendbird.com/t/sendbird-issue-while-running-in-release-mode/6943/1 "2023-04-03T09:40:38Z")

</div>

Hi, while i am using sendbird in release mode it is getting crash and showing this error  
Unhandled JS Exception: ReferenceError: Can’t find variable: n, stack

can you please help me to find this issue and resolve?

---

<div class="post-metadata">

**Author:** ![Ian](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/ian/32/2077_2.png) [@Ian](https://community.sendbird.com/u/Ian)\
**Post date:** [April 28, 2023, 3:17pm UTC](https://community.sendbird.com/t/sendbird-issue-while-running-in-release-mode/6943/2 "2023-04-28T15:17:54Z")

</div>

Hello @Nupur_Sharma,

Could you please provide additional details such as the Chat SDK version, UIKit version, the error message/stack trace, reproductions steps, and any screenshots that we could use to assist you?

---

<div class="post-metadata">

**Author:** ![Nupur\_Sharma](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nupur_sharma/32/3818_2.png) [@Nupur\_Sharma](https://community.sendbird.com/u/Nupur_Sharma)\
**Post date:** [May 1, 2023, 5:27am UTC](https://community.sendbird.com/t/sendbird-issue-while-running-in-release-mode/6943/3 "2023-05-01T05:27:03Z")

</div>

Ok , i will provide you today, the screenshots, and reproduce steps of error

---

<div class="post-metadata">

**Author:** ![Nupur\_Sharma](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nupur_sharma/32/3818_2.png) [@Nupur\_Sharma](https://community.sendbird.com/u/Nupur_Sharma)\
**Post date:** [May 1, 2023, 6:02am UTC](https://community.sendbird.com/t/sendbird-issue-while-running-in-release-mode/6943/4 "2023-05-01T06:02:36Z")

</div>

Hi Sendbird community, I have uploaded the screen recording where i am getting crash in release mode as well as screen shot where logs are showing the error of cant find variable n  
also attached my package .json which contains the versions of uikit , chat

please check

 ![Screenshot 2023-05-01 at 11.16.24 AM.jpg](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/d/dc3c2abca4515d0a4363c63cbfdb1ca49388139f.jpeg)

(Attachment Screen Recording 2023-05-01 at 11.29.11 AM.mov is missing)

[package.json.zip](https://community.sendbird.com/uploads/short-url/7nAJohnIlHUff6OPuIO6V4S8JBr.zip) (1.93 KB)

---

<div class="post-metadata">

**Author:** ![Nupur\_Sharma](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nupur_sharma/32/3818_2.png) [@Nupur\_Sharma](https://community.sendbird.com/u/Nupur_Sharma)\
**Post date:** [May 2, 2023, 10:14am UTC](https://community.sendbird.com/t/sendbird-issue-while-running-in-release-mode/6943/5 "2023-05-02T10:14:09Z")

</div>

Hi lan, When can I see Response from your side?

---

<div class="post-metadata">

**Author:** ![Ian](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/ian/32/2077_2.png) [@Ian](https://community.sendbird.com/u/Ian)\
**Post date:** [May 3, 2023, 2:55am UTC](https://community.sendbird.com/t/sendbird-issue-while-running-in-release-mode/6943/6 "2023-05-03T02:55:35Z")

</div>

Hello @Nupur_Sharma,

Please see the following thread: [Fatal Exception in Release versions of iOS/Android App - #12 by Tyler](https://community.sendbird.com/t/fatal-exception-in-release-versions-of-ios-android-app/5161/12)

To summarize: Our Engineering team did a deep dive on the topic and determined that this is no longer an issue when using React-Native v.065 or higher. This is an error within Metro Bundler ([reference](https://github.com/facebook/metro/commit/150d13eb9abdad45606a3ada0613947e751d9542)).
