Skip to content

Commit

Permalink
Added plugin support for new granular Android 13 storage permissions … (
Browse files Browse the repository at this point in the history
Baseflow#941)

* Added plugin support for new granular Android 13 storage permissions and alarm permission

* revert pubspec.yaml platform interface versions to 3.7.0 in platform packages
  • Loading branch information
YannickMaljaars authored Oct 19, 2022
1 parent 2395c10 commit 2e47f05
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
4 changes: 4 additions & 0 deletions permission_handler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 10.2.0

* Added support for the new Android 13 permissions: SCHEDULE_EXACT_ALARM, READ_MEDIA_IMAGES, READ_MEDIA_VIDEO and READ_MEDIA_AUDIO

## 10.1.0

* Added support for the new Android 13 permission: NEARBY_WIFI_DEVICES.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
<!-- Permissions options for the `storage` group -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />

<!-- Permissions options for the `camera` group -->
<uses-permission android:name="android.permission.CAMERA"/>
Expand Down Expand Up @@ -79,6 +82,9 @@
<!-- Permissions options for the `access notification policy` group -->
<uses-permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY"/>

<!-- Permissions options for the `alarm` group -->
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />

<application
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
Expand Down
10 changes: 5 additions & 5 deletions permission_handler/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: permission_handler
description: Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.
version: 10.1.0
version: 10.2.0
repository: https://github.com/baseflow/flutter-permission-handler
issue_tracker: https://github.com/Baseflow/flutter-permission-handler/issues

Expand All @@ -22,10 +22,10 @@ dependencies:
flutter:
sdk: flutter
meta: ^1.7.0
permission_handler_android: ^10.1.0
permission_handler_apple: ^9.0.5
permission_handler_windows: ^0.1.1
permission_handler_platform_interface: ^3.8.0
permission_handler_android: ^10.2.0
permission_handler_apple: ^9.0.7
permission_handler_windows: ^0.1.2
permission_handler_platform_interface: ^3.9.0

dev_dependencies:
flutter_lints: ^1.0.4
Expand Down

0 comments on commit 2e47f05

Please sign in to comment.