Fix:
- Can't get thumb/file of video on androidQ.
Fix:
- Compatibility code, when the width and height of the video is empty, it can still be scanned.
- Add a default value to
type
ofgetAssetPathList
.
Add:
- Delete asset.
- Add Image.
- Add Video.
- Add modifiDate property.
- Fix videoDuration error.
Fix:
- CreateDate error.
- Fix ios get full file size error.
Fix:
- Fix ios build error.
Breaking change.
- Some properties in the entity were modified from asynchronous to synchronous.
- Remove
isCache
params. Now,getAssetPathList
will reload info everytime. If user want to cacheList<AssetPathEntity>
, then user must do it self.
Added:
- Added a method
getAssetListPaged
for paging loading resources to path. The paging implementation is lazy loading, that is, the resource corresponding information is loaded when requested. The entity corresponding to the path is no longer placed in the memory, but is implemented by PHPhoto (ios) and sqlite's limit offset (android). - Support AndroidQ privacy.
Fix
- ICloud image problem.
Support flutter 1.6.0 android's thread changes for channel.
Fix customizing album containing folders on iOS.
AssetEntity
add property: originFile
AssetEntity
add property: exists
- Support Android X.
- Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.
fix NPE for image crash on android.
add a method to create AssetEntity
with id
add isCache
for method getImageAsset
,getVideoAsset
or getAssetPathList
add observer for photo change.
add field createTime
for AssetEntity
add two method to load video / image
getVideoAsset
getImageAsset
add asset size field
release cache method
fix
when number of photo/video is 0, will crash
add video duration
fix bug: Android's latest picture won't be found
update gradle wrapper version.
update kotlin version
Fix Android to get pictures that are empty bug.
support ios icloud image and video
update all path hasVideo property
add a params to help user disable get video
ios get video file is async
fix 'ios video full file is a jpg' problem
support video in android. and will change api from ImageXXXX to AssetXXXX
update for the issue #1 (NPE when request other permission on android)
first version
api for photo