T
NativeBridge
The native bridge a plugin reaches through context.native, gated by the capabilities it declares.
type NativeBridge = { … }Members
readonly abiVersion
stringThe version of the native ABI the loader implements.
readonly apiVersion
stringThe version of the JavaScript API plugins use, compared with a manifest's minNativeBridgeApi.
readonly capabilities
readonly NativeBridgeCapability[]Every capability this loader build provides, not only the ones the plugin declares.
Debugger support.
React Native surfaces mounted in native views.
Raw calls to C functions.
Java method hooks; Android only.
Java reflection; Android only.
The Objective-C runtime; iOS only.
Subscriptions to Discord activity.
Worklets on the UI runtime.