Skip to content

[image_picker] Adds comment for the limit parameter - #6678

Merged
auto-submit[bot] merged 7 commits into
flutter:mainfrom
LinXunFeng:image_picker_comment
May 31, 2024
Merged

[image_picker] Adds comment for the limit parameter#6678
auto-submit[bot] merged 7 commits into
flutter:mainfrom
LinXunFeng:image_picker_comment

Conversation

@LinXunFeng

Copy link
Copy Markdown
Member

Fixesflutter/flutter#147773

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be [] around ImagePickerAndroid, and `` around useAndroidPhotoPicker

This also seems a little verbose, maybe shorten it to

On Android, [ImagePickerAndroid.useAndroidPhotoPicker] must be set to `true` to use the `limit` functionality

I'm not sure the see: [link] part is necessary either.

Same for the other instance of this comment.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review, I've readjusted it.

@tarrinneal

Copy link
Copy Markdown
Contributor

I guess, before this gets merged, is this a feature that isn't available in the android sdk? or is it just not implemented properly in the plugin?

@LinXunFeng

Copy link
Copy Markdown
MemberAuthor

I made a reply here(flutter/flutter#147773 (comment)) and adjusted the comment. Please review again.

Comment threadpackages/image_picker/image_picker/lib/image_picker.dart Outdated
@LinXunFeng
LinXunFeng requested a review from gmackall as a code ownerMay 9, 2024 01:04
@LinXunFeng
LinXunFengforce-pushed the image_picker_comment branch 2 times, most recently from 7f80eaf to 5b0a880CompareMay 17, 2024 01:05
@reidbaker

Copy link
Copy Markdown
Contributor

It looks like there are some comments here otherwise the PR looks good. Do you plan to update this pr? if not we understand and thank you for the effort you have already spent.

@reidbaker
reidbaker self-requested a review May 30, 2024 18:48
@LinXunFeng
LinXunFengforce-pushed the image_picker_comment branch from 5b0a880 to 174414fCompareMay 31, 2024 00:28
@LinXunFeng

Copy link
Copy Markdown
MemberAuthor

@reidbaker, thanks for your review.

I have previously moved the comments about the Android part to the README of image_picker_android according to @stuartmorgan 's suggestion. Then the PR is waiting for further review and there is no other update.

Now I have rebased the latest code and resolved the conflict.

@stuartmorgan-gstuartmorgan-g left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with two small fixes.

Comment threadpackages/image_picker/image_picker_android/README.md Outdated
Comment threadpackages/image_picker/image_picker_android/CHANGELOG.md Outdated
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 31, 2024
auto-submitBot pushed a commit to flutter/flutter that referenced this pull request May 31, 2024
flutter/packages@910fabb...d8e8e8c
2024-05-31 linxunfeng@yeah.net [image_picker] Adds comment for the limit parameter (flutter/packages#6678)
2024-05-30 jonahwilliams@google.com Revert "Migrate CameraX from SurfaceTexture to SurfaceProducer." (flutter/packages#6838)
2024-05-30 10687576+bparrishMines@users.noreply.github.com [pigeon] Updates `PigeonInstanceMangerApi` to use the shared api channel code in Dart (flutter/packages#6831)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
victorsanni pushed a commit to victorsanni/flutter that referenced this pull request May 31, 2024
flutter/packages@910fabb...d8e8e8c
2024-05-31 linxunfeng@yeah.net [image_picker] Adds comment for the limit parameter (flutter/packages#6678)
2024-05-30 jonahwilliams@google.com Revert "Migrate CameraX from SurfaceTexture to SurfaceProducer." (flutter/packages#6838)
2024-05-30 10687576+bparrishMines@users.noreply.github.com [pigeon] Updates `PigeonInstanceMangerApi` to use the shared api channel code in Dart (flutter/packages#6831)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@LinXunFeng
LinXunFeng deleted the image_picker_comment branch October 26, 2024 03:26
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
bisor0627 pushed a commit to bisor0627/packages that referenced this pull request Jun 19, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmitMerge PR when tree becomes green via auto submit Appp: image_pickerplatform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[image_picker]: Document that limit is not always supported

4 participants

@LinXunFeng@tarrinneal@reidbaker@stuartmorgan-g