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 renamedopenPhotoPicker
PERMISSIONS.IOS.BLUETOOTH_PERIPHERAL
has been renamedPERMISSIONS.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 therequestTrackingAuthorizationWithCompletionHandler
callback value (closes #823)
How to migrate
- Migrate to the
setup_permissions
method - Replace
PERMISSIONS.IOS.BLUETOOTH_PERIPHERAL
withPERMISSIONS.IOS.BLUETOOTH
- Replace
BluetoothPeripheral
withBluetooth
insetup_permissions
- Replace
NSCalendarsUsageDescription
withNSCalendarsFullAccessUsageDescription
- Replace
NSRemindersUsageDescription
withNSRemindersFullAccessUsageDescription
- Replace
openLimitedPhotoLibraryPicker
withopenPhotoPicker
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 🙂