Releases: zoontek/react-native-permissions
Releases · zoontek/react-native-permissions
5.2.5
- Only request
LOCATION_ALWAYS
when app is active (fix #924)
5.2.4
- Check if
permission
is null
(fix an Android build issue in RN 0.77)
New Contributors
5.2.3
- Make
requestNotifications
options
argument optional
5.2.2
- Rely on a static list instead of
Manifest
to determine if a permission is available - (closes #908)
- Use the
granted
boolean when calling requestFullAccessToEventsWithCompletion
on iOS (closes #911)
5.2.1
- Check in both
Manifest
and permissions groups to determine if a permission is available.
5.2.0
- Add tvOS compatibility (closes #906)
5.1.0
- Add
canScheduleExactAlarms
to check Android SCHEDULE_EXACT_ALARM
(closes #795)
- Add an optional
type
argument to openSettings
, allowing you to open application
(the default), alarms
or notifications
settings
5.0.2
- Fix a regression introduced in v5.0.0 for
PERMISSIONS.IOS.FACE_ID
(#903)
5.0.1
- Fix running
expo prebuild
after manual Podfile
modifications
5.0.0
⚠️ This version requires Xcode 16 and drops support for iOS < 13.4, Android < 6.0, and React Native < 0.73.
What's changed
- Added
LIMITED
contacts permission status (on iOS 18+) (#882 by @changey)
- Migrated the Android codebase to Kotlin
- Proper support for iOS calendar permission escalation (fixes #889)
What's new
- Enabled location permission escalation on iOS (closes #716) – This feature was sponsored by Driversnote.com. Thank you! 🙌
- Added support for Android private / signature permissions (fixes #887)
requestNotifications
now accept a rationale
argument
- Introduced a new unified diagram to simplify understanding of the permission request flow:
![373889855-300d75e7-d038-46df-8daa-c4b60bdb1c0b](https://private-user-images.githubusercontent.com/1902323/375948465-f3dff609-6798-4222-8f41-6dccb54d650a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyODU1MzksIm5iZiI6MTczOTI4NTIzOSwicGF0aCI6Ii8xOTAyMzIzLzM3NTk0ODQ2NS1mM2RmZjYwOS02Nzk4LTQyMjItOGY0MS02ZGNjYjU0ZDY1MGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTQ0NzE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Yjg5ZDU2NDBiOTMxYjdmMGZkYzk3NmVkYzI1YTUwOWM2YzdkMWRiNWRkNTMxNmVkNTc0MzgxOGEyYzk5Mzg0NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.AQmLb4m6xstJ8qG4PryLWay-N7PgSPJiyjSaCA0cg-4)