getModule

abstract override fun getModule(name: String, reactContext: ReactApplicationContext): NativeModule?

The API needed for TurboModules. Given a module name, it returns an instance of NativeModule for the name

Parameters

name

name of the Native Module

reactContext

ReactApplicationContext context for this