react-native-permissions wraps iOS, Android, and Windows permission APIs in one module. It exposes check, request, and openSettings helpers for React Native apps.
Overview
react-native-permissions gives React Native apps a single API to query and request device permissions on iOS, Android, and Windows. Supported permission constants compile per platform so unused native capabilities are omitted from builds.
iOS projects configure CocoaPods or Swift Package Manager setup scripts and add Info.plist usage strings for each enabled permission. Android manifest declarations list permissions, while Expo apps mirror the same flags in app config files. Windows developers toggle capabilities in the appxmanifest through Visual Studio.
Runtime methods return statuses such as unavailable, denied, blocked, granted, or limited on iOS for select types. Helpers cover notifications, multiple permissions, location accuracy on iOS, photo and contact pickers for limited access, and deep links into system settings including Android exact alarm and full-screen intent checks.
Documentation maps a recommended flow: check status, request if needed, and guide blocked users to settings. The library tracks current React Native release support and documents Android one-time permission session behavior on recent API levels.
Key features
- Single API for iOS Android Windows permissions
- check request and openSettings methods
- Per-platform compile-time permission lists
- Notification permission helpers
- checkMultiple and requestMultiple batching
- iOS limited library and contact pickers
- Android exact alarm and full-screen checks
- Expo app config integration support
Use cases
- Requesting camera or mic access in RN apps
- Handling location permissions on iOS and Android
- Opening system settings after denied permissions
- Managing notification permission on Android 13+