# Cannot find variable 'n' in release , working fine in debug mode

**URL:** <https://community.sendbird.com/t/cannot-find-variable-n-in-release-working-fine-in-debug-mode/7170>\
**Category:** Show & Tell\
**Tags:** chatsdk, react-native\
**Created:** [April 28, 2023, 6:02am UTC](https://community.sendbird.com/t/cannot-find-variable-n-in-release-working-fine-in-debug-mode/7170 "2023-04-28T06:02:38Z")\
**Posts on this page:** 3\
**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 28, 2023, 6:02am UTC](https://community.sendbird.com/t/cannot-find-variable-n-in-release-working-fine-in-debug-mode/7170/1 "2023-04-28T06:02:38Z")

</div>

## _Cannot find variable ‘n’ in release , working fine in debug mode_ While I am implementing sendbird in React native , it’s working fine in Debug mode but as soon as i move to release it is getting crash and in logs I am getting cannot find variable ‘n’

**[UIKit Version]**  
What version of the SDK are you using?  
ans : @sendbird/chat": “4.3.0”,  
“react-native”: “0.64.2”,

**[Reproduction Steps]**

**[Frequency]**  
everytime I run code in release mode

**[Current impact]**  
crashing the whole app

---

<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:58am UTC](https://community.sendbird.com/t/cannot-find-variable-n-in-release-working-fine-in-debug-mode/7170/2 "2023-05-03T02:58:20Z")

</div>

Hello @Nupur_Sharma,

I have responded to your original thread: [Sendbird issue while running in release mode](https://community.sendbird.com/t/sendbird-issue-while-running-in-release-mode/6943)

Please do not post duplicate topics.

---

<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:58am UTC](https://community.sendbird.com/t/cannot-find-variable-n-in-release-working-fine-in-debug-mode/7170/3 "2023-05-03T02:58:28Z")

</div>

Closed on May 3, 2023, 2:58am UTC


