Releases: zoontek/react-native-permissions
Releases · zoontek/react-native-permissions
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
Version 3.0.0, with iOS 14, Android 11 and Windows support 🎉
What's new
- Windows support (#530 by @bzoz)
- Android 11 support
- iOS 14 support added, iOS 9 support dropped
- Updated example app
- New iOS 14+ permission handler:
Permission-PhotoLibraryAddOnly
. It exposes a new method:openLimitedPhotoLibraryPicker
(#510 by @jochem725) - New iOS 14+ permission handler:
Permission-LocationAccuracy
. It exposes two new methods:checkLocationAccuracy
&requestLocationAccuracy
(#503 by @adapptor-kurt) - Support of the new
Limited
status forPhotoLibrary
permission (#510 by @jochem725) - Support of the new
Limited
status forNotifications
permission (=Ephemeral
, (see Apple doc)
Breaking changes
.podspec
extension is no longer required in yourPodfile
:
target 'YourAwesomeProject' do
# …
permissions_path = '../node_modules/react-native-permissions/ios'
- pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars.podspec"
+ pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars"
- pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
+ pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
# …
end
request(PERMISSIONS.IOS.PHOTO_LIBRARY)
andrequestNotifications
could now resolve with aRESULTS.LIMITED
permission status.
Known issue
Updating the permission status to Ask me next time
in your app settings will not update the permission status on Android 11 for now.