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$