C

NativePluginCapabilityError

Thrown when a plugin uses a Capability its manifest does not declare, or declares one that is unknown or the native bridge lacks.

class NativePluginCapabilityError extends Error

Members

constructor(capability: "native.objc.classes" | "native.objc.invoke" | "native.objc.invokeAsync" | "native.objc.batch" | "native.objc.snapshot" | "native.objc.ivars" | "native.objc.associations" | "native.objc.hooks" | "native.ffi.symbols" | "native.ffi.call" | "native.fabric.mount" | "native.fabric.async" | "native.runtime.events" | "native.java.classes" | "native.java.construct" | "native.java.fields" | "native.java.invoke" | "native.java.invokeAsync" | "native.java.hooks" | "native.java.batch" | "native.java.associations" | "native.debug.evaluations" | "native.debug.environment") => NativePluginCapabilityError
readonly capability"native.objc.classes" | "native.objc.invoke" | "native.objc.invokeAsync" | "native.objc.batch" | "native.objc.snapshot" | "native.objc.ivars" | "native.objc.associations" | "native.objc.hooks" | "native.ffi.symbols" | "native.ffi.call" | "native.fabric.mount" | "native.fabric.async" | "native.runtime.events" | "native.java.classes" | "native.java.construct" | "native.java.fields" | "native.java.invoke" | "native.java.invokeAsync" | "native.java.hooks" | "native.java.batch" | "native.java.associations" | "native.debug.evaluations" | "native.debug.environment"

The Capability that was missing or refused.

readonly code"NATIVE_PLUGIN_CAPABILITY_DENIED"

A stable code to match on instead of the message.