How to register C++ React Native module in Android : <p>I have a C++ React Native module derived from <code>facebook::xplat::module::CxxModule</code>. It is working ok with iOS project but now I'm trying to figure out how to use it from Java. The only documentation I found is the comment in React Native codebase stating that:</p>

<blockquote>
  <p>NativeModules whose implementation is written in C++ must
  not provide any Java code (so they can be reused on other platforms),
  and instead should register themselves using
  CxxModuleWrapper</p>
</blockquote>

<p>My question is how to register C++ module in Java using CxxModuleWrapper</p>
