To add native modules to react-native, let’s create a new Kotlin class named ‘NativeModuleManagerPackage’ . We will implement ReactPackage in this file which will expose our native code to react-native. For registering the NativeModuleManagerPackage , we have to add code in MainApplication.16 Mar 2021