Closed VladShturma closed 3 months ago
nice job @VladShturma. I was looking at it the other day but did not understand why requestPermissions
implementation was not enough and I had some issues locating the success callback but now saw that the comment above mentions onRequestPermissionsResult
I have tried it in the examples app and I still get that it returns denied. @VladShturma @mvanbeusekom
@LulleBulle are you using example app that is inside permission_handler_android directory? Because I also checked in example app and it returns limited
@LulleBulle are you using example app that is inside permission_handler_android directory? Because I also checked in example app and it returns limited
Yes, I might have had some issues with gradle not compiling correctly and using an old version. Thanks for verifying for me :)
This PR fixes the issue https://github.com/Baseflow/flutter-permission-handler/issues/1243
Before fix when selecting 'Selected Photos Access enabled' on Android 14 the code
await Permission.photos.request();
returnedPermissionStatus.denied
. After fix it returnsPermissionStatus.limited
Pre-launch Checklist
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is does not need version changes.CHANGELOG.md
to add a description of the change.///
).main
.dart format .
and committed any changes.flutter analyze
and fixed any errors.