-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed
flutter/plugins
#6845Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: image_pickerThe Image Picker plugin.The Image Picker plugin.packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specifically
Description
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.
braj065
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: image_pickerThe Image Picker plugin.The Image Picker plugin.packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specifically