-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[image_picker_macos] macOS native image picker #8079
base: main
Are you sure you want to change the base?
[image_picker_macos] macOS native image picker #8079
Commits on Nov 17, 2024
-
chore(example): update outdated macOS example using Flutter CLI (auto…
…mated), deprecated @NSApplicationMain attribute Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0937fca - Browse repository at this point
Copy the full SHA 0937fcaView commit details -
feat(macos): (WIP) adds support for macOS PHPicker for image_picker_m…
…acos - Updates the `image_picke_macos`'s `pubspec.yaml` to add `pigeon` as dev dependency and add the `pluginClass` for Swift native code - Adds the `ImagePickerPlugin` in `image_picker_macos/macos` for native macOS plugin with support for SPM and CocoaPods with basic native unit tests - Uses the steps in https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-xctests-or-xcuitests to enable `XCTests` and `XCUITests` - Updates the `image_picker_macos_test.dart` to fix the test failure and ensure PHPicker is disabled by default - Adds a new button in the example to enable/disable PHPicker macOS implementation and enable the PHPicker by default - Updates the `README.md` of `image_picker_macos` and `image_picker` to document the usage - Removes two TODOs in `image_picker_macos.dart` as they are done with this PR - Adds TODOs that need to be done before merging the PR, some of them are questions, will be removed - Implement the getMultiImageWithOptions() since the getMultiImage is deprecated, updates getMultiImage() to delegate to getMultiImageWithOptions() since getMultiImageWithOptions() is required to access the limit property - Updates the Dart unit tests of image_picker_macos - Adds simple integration test for the example - Updates `pubspec.yaml` and `CHANGELOG.md` of `image_picker` and `image_picker_macos` Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a36d31 - Browse repository at this point
Copy the full SHA 0a36d31View commit details -
chore: generate pigeons and mocks with the latest dev dependencies
Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1781a73 - Browse repository at this point
Copy the full SHA 1781a73View commit details -
chore: format Swift generated file Messages.g.swift
Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5465142 - Browse repository at this point
Copy the full SHA 5465142View commit details -
chore: restore backticks of file_selector link
Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce49360 - Browse repository at this point
Copy the full SHA ce49360View commit details -
chore: update supported macOS version from 10.11 to 10.14 for image_p…
…icker_macos plugin Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0c7e3a - Browse repository at this point
Copy the full SHA e0c7e3aView commit details -
chore: use getVideo() instead of the soft-deprecated pickVideo() in u…
…nit test for consistency Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d8eef9 - Browse repository at this point
Copy the full SHA 8d8eef9View commit details -
chore: update outdated TODOs as they moved to flutter#8079
Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60035a2 - Browse repository at this point
Copy the full SHA 60035a2View commit details -
test: add minor test for pickVideo
Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eeb3f4c - Browse repository at this point
Copy the full SHA eeb3f4cView commit details -
chore: run dart format for Dart generated files
Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a123470 - Browse repository at this point
Copy the full SHA a123470View commit details -
chore: 'try' precede 'await' in ImagePickerImpl.swift
Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce6aed8 - Browse repository at this point
Copy the full SHA ce6aed8View commit details -
chore: hardcode the supportsPHPicker() name to fix CI warnings
Signed-off-by: Ellet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9122f9 - Browse repository at this point
Copy the full SHA c9122f9View commit details