Skip to content

Releases: fluttercandies/flutter_photo_manager

v3.6.1

01 Nov 08:52
59c5d3c
Compare
Choose a tag to compare

What's Changed

Fixes

Do not throw when querying not existing assets in bulk on Android.

Full Changelog: v3.6.0...v3.6.1

v3.6.0

30 Oct 10:31
ca76016
Compare
Choose a tag to compare

What's Changed

Features

  • Allows to get the duration of a Live Photo with AssetEntity.durationWithOptions on iOS and macOS.

Improvements

  • Improves the options when fetching fixed number of assets on iOS and macOS.

Fixes

  • Do not use privateFileURL on iOS 18+.
  • Fixes saving MP4 videos will result in 3GP on Android API 30-.
  • Fixes nullable result returned when saving images and videos on Android.

New Contributors

Full Changelog: v3.5.2...v3.6.0

v3.5.2

22 Oct 14:08
a76f2e5
Compare
Choose a tag to compare

What's Changed

Improvements

  • Get rid of @try @catch when toggling favorite on Darwin.

Fixes

  • Fix no returned ids after successful deletion on Android API 29+.
  • Fix mediaLocation = true does not work on Android API 34.

New Contributors

Full Changelog: 3.5.1...v3.5.2

3.5.1

14 Oct 09:27
a977873
Compare
Choose a tag to compare

What's Changed

Improvements

  • Reuse files when saving images on Darwin.
  • Returns non-nullable results as much as possible.
  • Fix export session file type with videos at the first time on Darwin.

Full Changelog: v3.5.0...3.5.1

v3.5.0

26 Sep 03:13
3f49ed8
Compare
Choose a tag to compare

What's Changed

Features

  • Provide PMDarwinAVFileType to help convert entities' files on iOS and macOS by making explicit exports.

Improvements

  • Improve cache output path equality on iOS and macOS.
  • Get the current resource filename rather than the raw one on iOS and macOS. Also the plugin expands the ability when getting titles.
  • Use PHCachingImageManager to improve image memory caches on iOS and macOS.

Fixes

  • Fix incorrect download finished prediction during iCloud file downloading.

Full Changelog: 3.4.0...v3.5.0

3.4.0

22 Sep 07:47
3862ce8
Compare
Choose a tag to compare

What's Changed

Breaking changes

saveLivePhoto now requires title rather than filename.

Features

  • Add getPermissionState method to PhotoManager.

Improvements

  • Adds a detached state for managers. Callers with those managers will first be aware of the detaching state
    before any actual calls to avoid crashes.
  • Errors replied by the channel do not include detailed messages before.
    Now the code will unwrap certain exceptions to extract details from them.
  • Expose progressHandler for AssetEntity.getMediaUrl.
  • Expose withSubtype for AssetEntity.isLocallyAvailable to request if a Live Photo resource is available.

Fixes

  • PHAssetResource with the type PHAssetResourceTypeFullSizeVideo does not count as a video type before,
    making the resource obtain ignore them.
  • Fixes potential range exception when converting NSTimeInterval on Darwin.
  • Fixes progress not being updated when getting the non-original video file on iOS.
  • Fixes incorrect Live Photo resource being obtained which will result in a wrong aspect ratio.
  • Fixes Live Photos saving exceptions with the paired video.
  • Other lints and type promotion fixes.

New Contributors

Full Changelog: 3.3.0...3.4.0

3.3.0

01 Sep 10:53
9d8058e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.2.3...3.3.0

3.2.3

07 Aug 17:04
e89e22e
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.2.2...3.2.3

3.2.2

19 Jul 08:47
929cb94
Compare
Choose a tag to compare

What's Changed

  • 🐛 Do not require WRITE_EXTERNAL_STORAGE if not declared in the manifest with Android 29- by @AlexV525 in #1158
  • fix: fetchPathProperties for API 28 by @CaiJingLong in #1161

Full Changelog: 3.2.1...3.2.2

3.2.1

12 Jul 06:44
fe4fa9c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.2.0...3.2.1