You need to use the Android Native Development Kit (NDK), in order to compile the code into a static library . The bindings between the two layers (Android and C++ library) is handled via the Java Native Interface (JNI).
Read moreHow do I create a module in React Native?
creating module for react-native
Read moreCan you use React Native with Java?
With React Native, you create one codebase that works on both Android and iOS . And it doesn’t just “work”—it compiles to native Java and Swift code. Specifically, React Native creates a bridge between web UI components and their native Java/Swift counterparts.
Read moreWhat is React Native native modules?
Push Your APP Capability beyond what React Native Provide. Photo by N Kamalov on Unsplash. React Native is a popular JavaScript-based mobile app framework that allows you to build natively rendered mobile apps for iOS and Android using the same codebase .
Read moreIs React Native a framework?
React Native is an open-source JavaScript framework , designed for building apps on multiple platforms like iOS, Android, and also web applications, utilizing the very same code base. It is based on React, and it brings all its glory to mobile app development.
Read moreHow do you write a wrapper for React Native?
Create the library
Read more