文件最后提交记录最后更新时间
fix[image_picker_ios]: Prevent transcoding on video selection (#10559) Fixes a severe performance regression where picking videos on iOS could take 10-30+ seconds. The delay was caused by PHPickerViewController defaulting to the Automatic asset representation mode, which triggered slow transcoding for formats like HEVC. This change sets preferredAssetRepresentationMode to Current to provide the original file without conversion, significantly improving performance. Fixes flutter/flutter#176355 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.5 个月前
fix[image_picker_ios]: Prevent transcoding on video selection (#10559) Fixes a severe performance regression where picking videos on iOS could take 10-30+ seconds. The delay was caused by PHPickerViewController defaulting to the Automatic asset representation mode, which triggered slow transcoding for formats like HEVC. This change sets preferredAssetRepresentationMode to Current to provide the original file without conversion, significantly improving performance. Fixes flutter/flutter#176355 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.5 个月前
[various] Update all packages to Pigeon 26 (#10450) Pigeon versions <26.0.4 aren't compatible with analyzer 8.x, which is causing conflicts for flutter/flutter, so this updates the entire repo to 26. Related: https://github.com/flutter/flutter/issues/178270 Manual fixes: - Updates camera_android_camerax and webview_flutter_android for https://github.com/flutter/packages/pull/9515 - Adds the pigeonVar_* overrides to the url_launcher_windows tests - Removes equality extensions to Pigeon data classes in in_app_purchase_storekit, as they are now generated by Pigeon, causing redeclaration errors. ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.6 个月前
[image_picker] Remove use of Pigeon's Dart test generator (#10320) Updates image_picker_ios to use the same test structure that image_picker_android already uses: - Removes the use of Pigeon's Dart test generator in favor of DI'ing an implementation of the actual generated Dart API. - Removes the use of the old method channel logger (which was adapted in place during the Pigeon conversion to minimize test changes in the PR that changed the implementation; the fact that it was still being used was tech debt), in favor of structured storage of passed arguments that can be queried directly. This makes tests much shorter and easier to understand and maintain, because if we want to check one parameter in a targeted test, we don't have to assert the entire argument dictionary. - Adds some missing test functionality (e.g., we didn't have tests of any of the non-null return value handling), and removes some duplicate testing (e.g., every possible combination of null and non-null width, hight, and image quality in on giant test). Also does minor cleanup of image_picker_android; this conversion had already been done there, but it was still generating an unused dartTestOut. Part of https://github.com/flutter/flutter/issues/159886 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.6 个月前
[image_picker] Remove use of Pigeon's Dart test generator (#10320) Updates image_picker_ios to use the same test structure that image_picker_android already uses: - Removes the use of Pigeon's Dart test generator in favor of DI'ing an implementation of the actual generated Dart API. - Removes the use of the old method channel logger (which was adapted in place during the Pigeon conversion to minimize test changes in the PR that changed the implementation; the fact that it was still being used was tech debt), in favor of structured storage of passed arguments that can be queried directly. This makes tests much shorter and easier to understand and maintain, because if we want to check one parameter in a targeted test, we don't have to assert the entire argument dictionary. - Adds some missing test functionality (e.g., we didn't have tests of any of the non-null return value handling), and removes some duplicate testing (e.g., every possible combination of null and non-null width, hight, and image quality in on giant test). Also does minor cleanup of image_picker_android; this conversion had already been done there, but it was still generating an unused dartTestOut. Part of https://github.com/flutter/flutter/issues/159886 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.6 个月前
[image_picker] Federate mobile implementations (#5100) 4 年前
fix[image_picker_ios]: Prevent transcoding on video selection (#10559) Fixes a severe performance regression where picking videos on iOS could take 10-30+ seconds. The delay was caused by PHPickerViewController defaulting to the Automatic asset representation mode, which triggered slow transcoding for formats like HEVC. This change sets preferredAssetRepresentationMode to Current to provide the original file without conversion, significantly improving performance. Fixes flutter/flutter#176355 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.5 个月前
Remove "All right reserved" from all files (#10066) Per guidance from legal on current preferred practice, remove "All rights reserved" from all LICENSE files and header blocks, and update the repo tool check accordingly.7 个月前
[various] Update flutter.dev links to more reliable destinations (#6963) Contributes to https://github.com/flutter/website/issues/10363 by updating to the latest links and updating some links to use new /to/ links that can be updated as needed.1 年前
fix[image_picker_ios]: Prevent transcoding on video selection (#10559) Fixes a severe performance regression where picking videos on iOS could take 10-30+ seconds. The delay was caused by PHPickerViewController defaulting to the Automatic asset representation mode, which triggered slow transcoding for formats like HEVC. This change sets preferredAssetRepresentationMode to Current to provide the original file without conversion, significantly improving performance. Fixes flutter/flutter#176355 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.5 个月前
README.md

image_picker_ios

The iOS implementation of image_picker.

Usage

This package is endorsed, which means you can simply use image_picker normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.