BaseReactPackage

Abstract class that supports lazy loading of NativeModules by default.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
open override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<in Nothing, in Nothing>>
Link copied to clipboard
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