Skip to content

[image_picker] [PHPhotoLibrary authorizationStatus] status is not correct in iOS14+ #113681

@zhouxing5311

Description

@zhouxing5311

it is not correct using [PHPhotoLibrary authorizationStatus] to get the authorization status in iOS14+. such as when you limit your app can access only some photos, then [PHPhotoLibrary authorizationStatus] will return PHAuthorizationStatusAuthorized which is not correct.
to solve the problem, you should use [PHPhotoLibrary authorizationStatusForAccessLevel:PHAccessLevelReadWrite] in iOS14+ to get the correct result.

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterp: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions