Skip to content

Commit aee7564

Browse files
authored
Added limited access permission for android 14+ (#1354)
* chore: Added limited access for Android 14+ * chore: version update
1 parent 0de4345 commit aee7564

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

permission_handler_platform_interface/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 4.2.2
2+
* Adds limited access permission for Android 14+.
3+
14
## 4.2.1
25

36
* Resolves an error that occurred when calling the `shouldShowRequestPermissionRationale` on iOS.

permission_handler_platform_interface/lib/src/permission_status.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ enum PermissionStatus {
1919
/// The user has authorized this application for limited access. So far this
2020
/// is only relevant for the Photo Library picker.
2121
///
22-
/// *Only supported on iOS (iOS14+).*
22+
/// *Only supported on iOS (iOS14+) and Android (Android 14+)*
2323
limited,
2424

2525
/// Permission to the requested feature is permanently denied, the permission

permission_handler_platform_interface/lib/src/permissions.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ class Permission {
411411
'calendarWriteOnly',
412412
'calendarFullAccess',
413413
'assistant',
414-
'backgroundRefresh'
414+
'backgroundRefresh',
415415
];
416416

417417
@override

permission_handler_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: A common platform interface for the permission_handler plugin.
33
homepage: https://github.com/baseflow/flutter-permission-handler/tree/master/permission_handler_platform_interface
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 4.2.1
6+
version: 4.2.2
77

88
dependencies:
99
flutter:

0 commit comments

Comments
 (0)