flutter-permission-handler
flutter-permission-handler copied to clipboard
[Android] Support new permissions for Android 13 (API 33)
🚀 Feature Requests
Since Android 13, there are many new permissions introduced. We will need to update to support it all.
There are 22 new permissions. Hence I list the most important ones (likely)
- [x] POST_NOTIFICATIONS - https://github.com/Baseflow/flutter-permission-handler/pull/845
- [ ] READ_MEDIA_AUDIO - https://github.com/Baseflow/flutter-permission-handler/pull/870
- [ ] READ_MEDIA_IMAGES - https://github.com/Baseflow/flutter-permission-handler/pull/870
- [ ] READ_MEDIA_VIDEO - https://github.com/Baseflow/flutter-permission-handler/pull/870
- [ ] NEARBY_WIFI_DEVICES
- [ ] SCHEDULE_EXACT_ALARM
Ref:
- https://developer.android.com/reference/android/Manifest.permission
- https://developer.android.com/about/versions/13/features
Platforms affected (mark all that apply)
- [ ] :iphone: iOS
- [x] :robot: Android
I have a question. If we update the package to version 10.0.0, and upgrade sdk version to 33, does this mean our users with android phones with version 12 and less won't be able to use the app? Or is it backwards compatible with older OS too?
@aytunch the app will continue to work as usual on older Android versions
SCHEDULE_EXACT_ALARM is automatically granted and declared in the manifest, but we can check if it's enabled since users can disable it in the "special app access" screen. I think the one we need to request now is USE_EXACT_ALARM?
Any plans for this? Android 13 is already out
What is costing you to not merge the pull request?
The NEARBY_WIFI_DEVICES permission is now supported as my PR's are merged!
SCHEDULE_EXACT_ALARM and the media permissions: READ_MEDIA_IMAGES, READ_MEDIA_VIDEOS and READ_MEDIA_AUDIO should also be supported as of my recent PR's for these have been merged!
Since all requested permissions are supported, I will close this issue. If anyone have any request, please re-open or just create a new issue.
Thank you for your contribution! @YannickMaljaars @alex-sandri