title: how to add a react-native native module in application main thread
body: <p>I'm writting a react-native native module using a third-party sdk, it report an error "xxxx should be used only from then application's main thread" when i init the sdk.
  How to create a native module in the application's main thread ? </p>