getInstance is not called from main thread in React Native APP

I am using meeting SDK in react native all the things are working fine meeting is initialized successfully but when I try to join the meeting then it gives me error like getInstance is not called from main thread

E/unknown:ReactNative: Exception in native call
java.lang.IllegalThreadStateException: getInstance is not called from main thread
at us.zoom.sdk.ZoomSDK.getInstance(
at com.fainlearn_app.ZoomManager.joinMeeting(
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(
at com.facebook.react.bridge.JavaModuleWrapper.invoke(
at Method)
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(
at android.os.Looper.loop(
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$

Hi @skychavda9 ,

Thanks for the post and pardon the late response. Based on the message, it seems like the React Native wrapper is not using our SDK in the main thread. Since we do not have a React Native wrapper, you might need to contact the developer who develops the wrapper you are using and update this part.

Thank you!