Skip to content

Releases: zoontek/react-native-permissions

3.0.0

28 Nov 10:52
Compare
Choose a tag to compare

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 for PhotoLibrary permission (#510 by @jochem725)
  • Support of the new Limited status for Notifications permission (=Ephemeral, (see Apple doc)

Breaking changes

  1. .podspec extension is no longer required in your Podfile:
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
  1. request(PERMISSIONS.IOS.PHOTO_LIBRARY) and requestNotifications could now resolve with a RESULTS.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.

2.2.2

26 Sep 17:43
Compare
Choose a tag to compare
  • Fallback UNAuthorizationStatusEphemeral (Notifications) and PHAuthorizationStatusLimited (PhotoLibrary) iOS 14 permission statuses to granted until proper support is done.

2.2.1

21 Sep 15:39
Compare
Choose a tag to compare

2.2.0

27 Aug 08:37
Compare
Choose a tag to compare

2.1.5

21 May 16:21
Compare
Choose a tag to compare
  • Fix Bluetooth API MISUSE error on iOS 12 (Fix #464)

2.1.4

01 May 08:05
Compare
Choose a tag to compare
  • Fix compatibility with TypeScript versions < 3.8.0 (#456 by @huntie)

2.1.3

23 Apr 08:03
Compare
Choose a tag to compare
  • Don't reject with an error if FaceID is locked out (Fix #453)
  • Improve test warning (#450 by @ghiculescu)

2.1.2

16 Apr 09:21
Compare
Choose a tag to compare
  • Check granted status before blocked status on Android check (Fix #445)

2.1.1

14 Apr 10:14
Compare
Choose a tag to compare
  • Add Permission-Notifications to permission handlers startup availability check (Fix ##441 (comment))

2.1.0

11 Apr 20:40
Compare
Choose a tag to compare
  • Add checkMultiple / requestMultiple methods (Fix #354, #435)
  • Add unavailable and blocked check on check() calls (Fix #419)
  • Disallow Bluetooth Peripheral request in iOS simulator
  • Make Should be one of: () message more explicit (Fix #389)