Skip to content

Commit

Permalink
Added limited access permission for android 14+ (#1354)
Browse files Browse the repository at this point in the history
* chore: Added limited access for Android 14+

* chore: version update
  • Loading branch information
AnujLM authored Aug 5, 2024
1 parent 0de4345 commit aee7564
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions permission_handler_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 4.2.2
* Adds limited access permission for Android 14+.

## 4.2.1

* Resolves an error that occurred when calling the `shouldShowRequestPermissionRationale` on iOS.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ enum PermissionStatus {
/// The user has authorized this application for limited access. So far this
/// is only relevant for the Photo Library picker.
///
/// *Only supported on iOS (iOS14+).*
/// *Only supported on iOS (iOS14+) and Android (Android 14+)*
limited,

/// Permission to the requested feature is permanently denied, the permission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ class Permission {
'calendarWriteOnly',
'calendarFullAccess',
'assistant',
'backgroundRefresh'
'backgroundRefresh',
];

@override
Expand Down
2 changes: 1 addition & 1 deletion permission_handler_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A common platform interface for the permission_handler plugin.
homepage: https://github.com/baseflow/flutter-permission-handler/tree/master/permission_handler_platform_interface
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 4.2.1
version: 4.2.2

dependencies:
flutter:
Expand Down

0 comments on commit aee7564

Please sign in to comment.