- Deprecates
getMultiImagein favor of a new methodgetMultiImageWithOptions.- Adds
requestFullMetadataoption that allows disabling extra permission requests on certain platforms. - Moves optional image picking parameters to
MultiImagePickerOptionsclass.
- Adds
- Deprecates
getImagein favor of a new methodgetImageFromSource.- Adds
requestFullMetadataoption that allows disabling extra permission requests on certain platforms. - Moves optional image picking parameters to
ImagePickerOptionsclass.
- Adds
- Minor fixes for new analysis options.
- Internal code cleanup for stricter analysis options.
- Removes dependency on
meta.
- Update to use the
verifymethod introduced in plugin_platform_interface 2.1.0.
- Reverts the changes from 2.4.0, which was a breaking change that was incorrectly marked as a non-breaking change.
- Add
forceFullMetadataoption topickImage.- To keep this non-breaking
forceFullMetadatadefaults totrue, so the plugin tries to get the full image metadata which may require extra permission requests on certain platforms. - If
forceFullMetadatais set tofalse, the plugin fetches the image in a way that reduces permission requests from the platform (e.g on iOS the plugin won’t ask for theNSPhotoLibraryUsageDescriptionpermission).
- To keep this non-breaking
- Updated
LostDataResponseto include afilesproperty, in case more than one file was recovered.
- Added new methods that return
XFile(frompackage:cross_file)getImage(will deprecatepickImage)getVideo(will deprecatepickVideo)getMultiImage(will deprecatepickMultiImage)
PickedFile will also be marked as deprecated in an upcoming release.
- Add
pickMultiImagemethod.
- Update platform_plugin_interface version requirement.
- Migrate to null safety.
- Breaking Changes:
- Removed the deprecated methods:
ImagePickerPlatform.retrieveLostDataAsDartIoFile,ImagePickerPlatform.pickImagePathandImagePickerPlatform.pickVideoPath. - Removed deprecated class:
LostDataResponse.
- Removed the deprecated methods:
- Fix test asset file location.
- Update Flutter SDK constraint.
- Pass
Uris topackage:httpmethods, instead of strings, in preparation for a major version update inhttp.
- Update documentation of
pickImage()regarding HEIC images.
- Update documentation of
pickImage()regarding compression support for specific image types.
- Update documentation of getImage() about Android's disability to preference front/rear camera.
- Introduce PickedFile type for the new API.
- Update lower bound of dart dependency to 2.1.0.
- Initial release.