ReactContextBaseJavaModule

Base class for Catalyst native modules that require access to the ReactContext instance.

Inheritors

Constructors

Link copied to clipboard
constructor()
constructor(@Nullable reactContext: ReactApplicationContext)

Properties

Link copied to clipboard
val METHOD_TYPE_ASYNC: String = "async"
Link copied to clipboard
val METHOD_TYPE_PROMISE: String = "promise"
Link copied to clipboard
val METHOD_TYPE_SYNC: String = "sync"

Functions

Link copied to clipboard
Return true if you intend to override some other native module that was registered e.g.
Link copied to clipboard
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
open fun initialize()
This method is called after ReactApplicationContext has been created.
Link copied to clipboard
open fun invalidate()
The CatalystInstance is going away with Venice.
Link copied to clipboard
Allow NativeModule to clean up.