getInstance is not called from main thread in React Native APP

Description
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

Error?
E/unknown:ReactNative: Exception in native call
java.lang.IllegalThreadStateException: getInstance is not called from main thread
at us.zoom.sdk.ZoomSDK.getInstance(ZoomSDK.java:9)
at com.fainlearn_app.ZoomManager.joinMeeting(ZoomManager.java:156)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
at android.os.Looper.loop(Looper.java:154)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)

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!