- Adds support for USE_FULL_SCREEN_INTENT permission check on Android 14+
- Updates project dependencies.
- Fixes class name references in the API documentation.
- Adds limited access permission for Android 14+.
- Resolves an error that occurred when calling the
shouldShowRequestPermissionRationaleon iOS.
- Adds a new permission
Permission.backgroundRefreshto check the background refresh permission status on iOS & macOS platforms. This is a no-op on all other platforms.
- Adds the
Permission.assistantwhich allows users to request permissions to access SiriKit on iOS and macOS platforms. This is a no-op on all other platforms.
- Improved the documentation around the
PermissionStatus,PermissionStatusGettersandFuturePermissionStatusGetters.
- Updates Android documentation on how to use
permission.photoon Android 12 (API 32) and below and Android 13 (API 33) and above.
- BREAKING CHANGE: Replaces
Permission.calendarReadOnlywithPermission.calendarWriteOnly.
- Adds
Permission.calendarReadOnlyandPermission.calendarFullAccess. - Deprecates
Permission.calendar. Developers should usePermission.calendarReadOnlyandPermission.calendarFullAccessinstead.
- Updates the mentions of Android versions throughout the plugin, now following a format of 'Android {name} (API {number})'. For example: 'Android 13 (API 33)'.
- Clarifies the documentation on requesting background location permission
through
Permission.locationAlwayson Android 10+ (API 29+).
- Updates the documentation for the
Permission.bluetoothpermission regarding the limitations of the permission on iOS.
- Changes
Permission.bluetoothinto an instance ofPermissionWithServiceinstead ofPermissionin order to determine iOS native'sCBManagerStatePoweredOn.
- Updates the documentation for the
Permission.storagepermission regarding its use on Android.
- HOTFIX: Fixes misalignment in the
Permissionenum after adding the new BODY_SENSORS_BACKGROUND permission.
- Adds support for the new Android 13 permission: BODY_SENSORS_BACKGROUND.
- Adds support for the "Provisional" permission status introduced with iOS 12+.
- Adds support for the new Android 13 permissions: SCHEDULE_EXACT_ALARM, READ_MEDIA_IMAGES, READ_MEDIA_VIDEO and READ_MEDIA_AUDIO
- Adds support for the new Android 13 permission: NEARBY_WIFI_DEVICES.
- Updates the documentation on permissions in
permission_status.dart
- Adds support for the new Android 12 Bluetooth permissions: BLUETOOTH_SCAN, BLUETOOTH_ADVERTISE, and BLUETOOTH_CONNECT.
- Updates the MethodChannelMock due to breaking changes in the platform channel test interface.
- Updates the
metadependency to version^1.3.0. - Updates documentation for the
locationAlwayspermission
- Adds support for iOS Critical Alerts and Android Access Notification Policy.
- Updates API documentation for the
PermissionStatus.permanentlyDeniedstatus.
- Adds support for app tracking transparency permission.
- Adds support request install packages permission.
- Adds support for system alert window permission.
- Adds support for managing external storage permission available on Android 10 and up.
- Implements the equality operator for the
Permissionclass; - Reverts the status of the services check for notification permission. Turns out the implementation does not fit with the ideas of the permission_handler plugin.
- Allows checking service status for notification permission.
- Fixes conversion issue where
PermissionStatus.deniedwas not translated to the correct index. - Adds unit tests to guard API against breaking changes.
- Adds support for Bluetooth permissions.
- BREAKING: Removes the PermissionStatus.undetermined. This is now replaced by PermissionStatus.denied.
- Migrates to null safety.
- Adds support for the limited photo permission available on iOS 14 and up.
- Updates to
platform_interface 1.0.2 - Fixes bug that allows requesting if the device has phone capabilities.
- BREAKING: Creates a much more intuitive API using Dart's new extension methods (#230). Big thank you to @marcelgarus for the idea and for doing all the grunt work.
- Initial open-source release.