sparrow_image_picker_platform_interface 0.0.2 copy "sparrow_image_picker_platform_interface: ^0.0.2" to clipboard
sparrow_image_picker_platform_interface: ^0.0.2 copied to clipboard

A common platform interface for the sparrow_image_picker plugin.

2.4.1 #

  • Reverts the changes from 2.4.0, which was a breaking change that was incorrectly marked as a non-breaking change.

2.4.0 #

  • Add forceFullMetadata option to pickImage.
    • To keep this non-breaking forceFullMetadata defaults to true, so the plugin tries to get the full image metadata which may require extra permission requests on certain platforms.
    • If forceFullMetadata is set to false, 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 the NSPhotoLibraryUsageDescription permission).

2.3.0 #

  • Updated LostDataResponse to include a files property, in case more than one file was recovered.

2.2.0 #

  • Added new methods that return XFile (from package:cross_file)
    • getImage (will deprecate pickImage)
    • getVideo (will deprecate pickVideo)
    • getMultiImage (will deprecate pickMultiImage)

PickedFile will also be marked as deprecated in an upcoming release.

2.1.0 #

  • Add pickMultiImage method.

2.0.1 #

  • Update platform_plugin_interface version requirement.

2.0.0 #

  • Migrate to null safety.
  • Breaking Changes:
    • Removed the deprecated methods: ImagePickerPlatform.retrieveLostDataAsDartIoFile,ImagePickerPlatform.pickImagePath and ImagePickerPlatform.pickVideoPath.
    • Removed deprecated class: LostDataResponse.

1.1.6 #

  • Fix test asset file location.

1.1.5 #

  • Update Flutter SDK constraint.

1.1.4 #

  • Pass Uris to package:http methods, instead of strings, in preparation for a major version update in http.

1.1.3 #

  • Update documentation of pickImage() regarding HEIC images.

1.1.2 #

  • Update documentation of pickImage() regarding compression support for specific image types.

1.1.1 #

  • Update documentation of getImage() about Android's disability to preference front/rear camera.

1.1.0 #

  • Introduce PickedFile type for the new API.

1.0.1 #

  • Update lower bound of dart dependency to 2.1.0.

1.0.0 #

  • Initial release.
0
likes
120
pub points
23%
popularity

Publisher

unverified uploader

A common platform interface for the sparrow_image_picker plugin.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

cross_file, flutter, http, meta, plugin_platform_interface

More

Packages that depend on sparrow_image_picker_platform_interface