API Reference
Canonical reference for every public export of react-native-permission-handler. Each page below documents one API surface with its full type signature, the behavior of each field, and at least one runnable example.
If you are new to the library, read the top-level README first — it contains the state machine diagram and a quick-start walkthrough. The pages here are intended as a lookup reference, not a tutorial.
Hooks
usePermissionHandler— the single-permission lifecycle hook.useMultiplePermissions— parallel or sequential multi-permission orchestration with per-permission handlers.
Components
PermissionGateand default prompts — declarative gate component plusDefaultPrePrompt,DefaultBlockedPrompt, andLimitedUpgradePrompt.
Engines
- Engines and engine resolution — the
PermissionEngineinterface,createRNPEngine,createExpoEngine,createTestingEngine,createNoopEngine,setDefaultEngine, and resolution order.
Types and constants
- Types, flow states, and
Permissions—PermissionStatus, the 12PermissionFlowStatevalues,PermissionFlowEvent, and thePermissionsconstants index includingPermissions.BUNDLES.
Recipes
For end-to-end solutions to real problems (background location, onboarding walls, limited photo upgrade, testing, Android normalization, etc.), see the recipes index.