-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[image_picker] add requestFullMetadata for iOS (optional permissions) #5915
[image_picker] add requestFullMetadata for iOS (optional permissions) #5915
Conversation
Updated changelog with description of latest changes
…ch actual changes
…-permissions � Conflicts: � packages/image_picker/image_picker_platform_interface/CHANGELOG.md � packages/image_picker/image_picker_platform_interface/pubspec.yaml
Added missing native implementation of the new flag
…os-optional-permissions
…ermissions � Conflicts: � packages/image_picker/image_picker/CHANGELOG.md � packages/image_picker/image_picker/ios/Classes/FLTImagePickerPlugin.m � packages/image_picker/image_picker/pubspec.yaml
…ermissions � Conflicts: � packages/image_picker/image_picker/CHANGELOG.md � packages/image_picker/image_picker_platform_interface/CHANGELOG.md � packages/image_picker/image_picker_platform_interface/pubspec.yaml
Fixed failing test
Hey, I've just checked out this PR in my app (both on Simulator and real device).
This most probably an issue that resides within the new image_picker_ios (0.8.6) version, and not this PR directly, but still it worth mentioning it here before merging. |
@idish thanks for your feedback! I'll take an extra look to make sure, that it works correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! It just needs the final version update for your bugfix and it should be good to go! Thanks again for all the work on this.
@cyanglaz Can you do the secondary sign-off?
@@ -24,8 +24,8 @@ dependencies: | |||
sdk: flutter | |||
image_picker_android: ^0.8.4+11 | |||
image_picker_for_web: ^2.1.0 | |||
image_picker_ios: ^0.8.4+11 | |||
image_picker_platform_interface: ^2.3.0 | |||
image_picker_ios: ^0.8.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be 0.8.6+1
now to pick up the last fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still waiting for this version to be published on pub.dev. It seems that the release action failed. Could you take a look? https://github.com/flutter/plugins/actions/runs/3084943502
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, sorry about that; I forgot to check that publishing had completed. It looks like there was a flake in the analysis run during post-submit tests, and it's already being re-run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it's live. Sorry for the delay!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be good to go now, thanks!
@cyanglaz Ping from triage on this review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Hello, have you fixed the problem of 'Select More Photos'? I have also reproduced the problem here |
@liumengchun this is more like a workaround to not use the gallery permissions at all. They are needed only to access some specific image metadata, which isn't needed in most of the cases. |
@PiotrMitkowski thank you, great work 👏 |
… - platform interface changes for multi image picking (flutter#5914) Platform interface changes for flutter#5915 - adding possibility to disable full metadata when picking multiple images
Description
Originally #3264 made by @cpboyd
Creating a new PR as I've closed the previous one (#4638) by a mistake
Make iOS 11+ permissions requests optional per https://developer.apple.com/forums/thread/653414.
PHAssets aren't actually required and there was already some fallback code in place.
Related issues
Fixes flutter/flutter#65995
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).