Releases: fluttercandies/flutter_photo_manager
Releases · fluttercandies/flutter_photo_manager
v3.6.3
What's Changed
Improvements
- Optimize task priority handling on Darwin by automatically assigning QoS levels based on method types.
- Optimize the default sort descriptors on Darwin.
Fixes
- Fix the incorrect type of conversion with the Live-Photo's duration on Darwin.
Full Changelog: v3.6.2...v3.6.3
v3.6.2
What's Changed
Fixes
- Fix request permissions for images and videos on Android API 33+.
Full Changelog: v3.6.1...v3.6.2
v3.6.1
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
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
- @yishangfei made their first contribution in #1188
Full Changelog: v3.5.2...v3.6.0
v3.5.2
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
- @chocoyang-horizon made their first contribution in #1204
Full Changelog: 3.5.1...v3.5.2
3.5.1
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
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
What's Changed
Breaking changes
saveLivePhoto
now requires title
rather than filename
.
Features
- Add
getPermissionState
method toPhotoManager
.
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
forAssetEntity.getMediaUrl
. - Expose
withSubtype
forAssetEntity.isLocallyAvailable
to request if a Live Photo resource is available.
Fixes
PHAssetResource
with the typePHAssetResourceTypeFullSizeVideo
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
- @LinXunFeng made their first contribution in #1189
Full Changelog: 3.3.0...3.4.0
3.3.0
What's Changed
- dev: add log for plugin channel by @CaiJingLong in #1172
- ✨ Expose
orientation
to saving methods by @AlexV525 in #1159 - fix: compile error on Android 15 (SDK 35). by @YanhqZ in #1177
- ⚡️ Reorg input streams when saving asset on Android by @AlexV525 in #1178
New Contributors
Full Changelog: 3.2.3...3.3.0