Repository navigation
3.4.0
What's Changed
Breaking changes
saveLivePhoto now requires title rather than filename.
Features
- Add
getPermissionStatemethod 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
progressHandlerforAssetEntity.getMediaUrl. - Expose
withSubtypeforAssetEntity.isLocallyAvailableto request if a Live Photo resource is available.
Fixes
PHAssetResourcewith the typePHAssetResourceTypeFullSizeVideodoes not count as a video type before,
making the resource obtain ignore them.- Fixes potential range exception when converting
NSTimeIntervalon 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