# Android sdk v5.2.4 - initialized call stuck the thread

**URL:** <https://devforum.zoom.us/t/android-sdk-v5-2-4-initialized-call-stuck-the-thread/35206>\
**Category:** Android\
**Created:** [November 5, 2020, 1:42pm UTC](https://devforum.zoom.us/t/android-sdk-v5-2-4-initialized-call-stuck-the-thread/35206 "2020-11-05T13:42:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ofri](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ofri/32/16193_2.png) [@ofri](https://devforum.zoom.us/u/ofri)\
**Post date:** [November 5, 2020, 1:42pm UTC](https://devforum.zoom.us/t/android-sdk-v5-2-4-initialized-call-stuck-the-thread/35206/1 "2020-11-05T13:42:13Z")

</div>

**Description**  
I’m calling this method [version 5.2.4]:

public void initialize(android.content.Context context, [ZoomSDKInitializeListener](https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/ZoomSDKInitializeListener.html) listener, [ZoomSDKInitParams](https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/ZoomSDKInitParams.html) params)

and the thread is stuck, also not receiving results on listener.  
when I’m downgrade the sdk version to 5.2.0 its working

**Which version?**  
5.2.4

---

<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:** [November 5, 2020, 6:38pm UTC](https://devforum.zoom.us/t/android-sdk-v5-2-4-initialized-call-stuck-the-thread/35206/2 "2020-11-05T18:38:54Z")

</div>

Hi @ofri, thanks for the post.

Can you provide a code snippet showing where this issue is happening? Also, are you able to reproduce this in our sample app?

Thanks!

---

<div class="post-metadata">

**Author:** ![ofri](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ofri/32/16193_2.png) [@ofri](https://devforum.zoom.us/u/ofri)\
**Post date:** [November 6, 2020, 2:46pm UTC](https://devforum.zoom.us/t/android-sdk-v5-2-4-initialized-call-stuck-the-thread/35206/3 "2020-11-06T14:46:15Z")

</div>

reactContext.getCurrentActivity().runOnUiThread(new Runnable() {  
@Override  
public void run() {  
ZoomSDK zoomSDK = ZoomSDK.getInstance();  
ZoomSDKInitParams initParams = new ZoomSDKInitParams();  
initParams.appKey = params.getString(“clientKey”);  
initParams.appSecret = params.getString(“clientSecret”);  
initParams.domain = params.getString(“domain”);  
zoomSDK.initialize(reactContext.getCurrentActivity(), RNZoomUsModule.this, initParams);  
Log.i(TAG, “after zoom initialize”); // this line is not printed, neither I get result in the listener method  
}  
});

its a react-native app.  
same code works for version 5.0 (one bellow latest)

---

<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:** [November 6, 2020, 6:03pm UTC](https://devforum.zoom.us/t/android-sdk-v5-2-4-initialized-call-stuck-the-thread/35206/4 "2020-11-06T18:03:38Z")

</div>

Hi @ofri, thanks for the additional info.

Unfortunately, we do not support react native with our SDK. For that reason, we will not be able to assist you with any issues you encounter in your app unless you are able to reproduce them in a regular native Android implementation.

Thanks!

---

<div class="post-metadata">

**Author:** ![ofri](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ofri/32/16193_2.png) [@ofri](https://devforum.zoom.us/u/ofri)\
**Post date:** [November 8, 2020, 7:20am UTC](https://devforum.zoom.us/t/android-sdk-v5-2-4-initialized-call-stuck-the-thread/35206/5 "2020-11-08T07:20:21Z")

</div>

it has nothing to do with react-native. it is totally native code here… its a very bad excuse.

---

<div class="post-metadata">

**Author:** ![ofri](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ofri/32/16193_2.png) [@ofri](https://devforum.zoom.us/u/ofri)\
**Post date:** [November 8, 2020, 7:57am UTC](https://devforum.zoom.us/t/android-sdk-v5-2-4-initialized-call-stuck-the-thread/35206/6 "2020-11-08T07:57:44Z")

</div>

Mentioning again that version 5.0 works with the same code.

---

<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:** [November 9, 2020, 5:51pm UTC](https://devforum.zoom.us/t/android-sdk-v5-2-4-initialized-call-stuck-the-thread/35206/7 "2020-11-09T17:51:58Z")

</div>

Hi @ofri,

Since we do not support react native apps with the SDK, we cannot provide assistance with this issue unless you are able to reproduce this in our sample app or in your own native Android app.

Thanks!

---

<div class="post-metadata">

**Author:** ![ofri](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ofri/32/16193_2.png) [@ofri](https://devforum.zoom.us/u/ofri)\
**Post date:** [November 10, 2020, 8:30am UTC](https://devforum.zoom.us/t/android-sdk-v5-2-4-initialized-call-stuck-the-thread/35206/8 "2020-11-10T08:30:21Z")

</div>

can you explain why its working on version 5.0 and not on 5.2.4? or what are the limitations of react-native which cause this not to work?  
thanks!

---

<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:** [November 10, 2020, 7:08pm UTC](https://devforum.zoom.us/t/android-sdk-v5-2-4-initialized-call-stuck-the-thread/35206/9 "2020-11-10T19:08:04Z")

</div>

Hi @ofri,

I cannot explain specifically what is causing this because we do not support react native at any level. As a result, none of our SDK releases are tested with a react native integration.

We are aware that some customers prefer react native over native mobile development, but do not have any immediate plans to support it at the moment.

Thanks!
