Skip to content

Releases: csdcorp/local_image_provider

Swift compile error

18 Mar 13:09
Compare
Choose a tag to compare
  • fixes a compile error with jpegdata

Null column fix

17 Mar 13:20
Compare
Choose a tag to compare
  • fix exceptions from null image info columns on Android
  • now catches top level exceptions and returns them as platform exceptions on Flutter

iOS imageBytes fix

05 Nov 21:11
Compare
Choose a tag to compare
  • fix for iOS imageBytes implementation, width and height were swapped, causing images to be resized incorrectly

Cleanup

22 May 15:00
Compare
Choose a tag to compare

New

  • cleanup method on LocalImageProvider removes all temporary files created by the plugin

Updates

  • fix for videoFile call with id that does not exist

Video support

22 May 13:02
Compare
Choose a tag to compare

Breaking

  • Upgraded to New Swift 1.12 plugin structure, may work with older Flutter version but not guaranteed
  • This version only works with Flutter 1.17.0 and above due to interaction with the Flutter cache

New

  • LocalImage now includes both images and videos in the returned list
  • new getVideoFile method on LocalImageProvider retrieves a file path for a video.
  • added the mediaType, isVideo and isImage properties to LocalImage
  • added fileName and fileSize properties to LocalImage
  • control cache usage with the new maxCacheDimension property on LocalImageProvider, requires Flutter 1.17.0
  • test coverage improvements
  • pubspec changes for Flutter 1.17, minimum version now 1.17.0
  • added videoCount to LocalAlbum
  • findImagesInAlbum now returns both images and video, use the isVideo and isImage properties to filter

FileNotFound fix

15 Mar 20:20
Compare
Choose a tag to compare
  • fix for file not found exception in imageBytes
  • DeviceImage now loads a default image if the load fails

Flutter 1.12.0 - Swift update

03 Jan 20:43
7399944
Compare
Choose a tag to compare

0.8.2

Breaking

  • Upgrade Swift to version 5 to match Flutter. Projects using this plugin must now switch to 5.