Skip to content

Releases: zoontek/react-native-permissions

4.1.1

31 Jan 09:55
deedb2b
Compare
Choose a tag to compare
  • Fix Expo plugin not working on Expo SDK 50 (closes #840)

4.1.0

27 Jan 13:18
28e15e8
Compare
Choose a tag to compare
  • Add expo config plugin for iOS permissions setup by @fobos531 in #834
  • Improved error handling for Attempt to invoke interface method 'void com.facebook.react.bridge.Callback.invoke(java.lang.Object[])' by @webraptor in #835

4.0.4

08 Jan 08:50
97ba67c
Compare
Choose a tag to compare
  • Fix a regression caused by the example app (now using yarn link) that updated the project podspec

4.0.3

07 Jan 19:00
5b013ad
Compare
Choose a tag to compare
  • Add Android Gradle plugin 8 compatibility
  • Fix AndroidManifest.xml namespace deprecation warning

4.0.2

03 Jan 09:34
1269ded
Compare
Choose a tag to compare
  • Support PERMISSIONS.IOS.MEDIA_LIBRARY permission request on the iOS simulator (#831 by @asafkorem)

4.0.1

14 Dec 12:31
14b0e2f
Compare
Choose a tag to compare
  • Enforce checkNotifications behaviour on Android < 13 to match the Android runtime permissions flow and all others permissions behaviour (for more details, I made a post here).
  • Update example app to React Native 0.73.0

4.0.0

05 Dec 14:14
7f9e774
Compare
Choose a tag to compare

Version 4.0.0, with iOS 17 and Android 14 support 🎉

⚠️ This version requires Xcode 15 and drops support for iOS < 12.4 and React Native < 0.70.

What's changed

  • Deprecated iOS permission setup methods have been removed. setup_permissions is now the unique way to do it
  • openLimitedPhotoLibraryPicker has been renamed openPhotoPicker
  • PERMISSIONS.IOS.BLUETOOTH_PERIPHERAL has been renamed PERMISSIONS.IOS.BLUETOOTH

What's new

  • New Android permission: PERMISSIONS.ANDROID.READ_MEDIA_VISUAL_USER_SELECTED (closes #827)
  • New iOS permission: PERMISSIONS.IOS.CALENDARS_WRITE_ONLY (closes #804)
  • openPhotoPicker now resolves on picker close, not immediately (closes #689)
  • PERMISSIONS.IOS.APP_TRACKING_TRANSPARENCY now resolves the requestTrackingAuthorizationWithCompletionHandler callback value (closes #823)

How to migrate

  • Migrate to the setup_permissions method
  • Replace PERMISSIONS.IOS.BLUETOOTH_PERIPHERAL with PERMISSIONS.IOS.BLUETOOTH
  • Replace BluetoothPeripheral with Bluetooth in setup_permissions
  • Replace NSCalendarsUsageDescription with NSCalendarsFullAccessUsageDescription
  • Replace NSRemindersUsageDescription with NSRemindersFullAccessUsageDescription
  • Replace openLimitedPhotoLibraryPicker with openPhotoPicker

What's next?

This release is quite minimal. If your company wants a new feature, feels free to reach me via email to hire me for it 🙂

3.10.1

26 Oct 09:09
63b695a
Compare
Choose a tag to compare
  • Catch NullPointerException in onRequestPermissionsResult (fix #820)

3.10.0

11 Oct 12:45
2d496bb
Compare
Choose a tag to compare
  • Rollback 3.9.3 changes (fix #813)
  • Remove [CLLocationManager locationServicesEnabled] check. It's not needed, if Location services are disabled, iOS will return BLOCKED (+ it matches Android behaviour)

3.9.3

04 Oct 11:06
82e178f
Compare
Choose a tag to compare
  • Execute [CLLocationManager locationServicesEnabled] in an async way to prevent UI freezes when checking / requesting location permissions on iOS (82e178f)