Improvements:
- Allow all kinds of
PHAssetCollection
which should expand the support for shared albums. (#641)
Fixes:
- Fix compile error on Xcode 12 for iOS 14. (#630)
Fixes:
- Fix
presentLimited
issues on iOS 14 real devices. (#627)
Improvements:
- Improve sort orders on all platforms. (#623)
Improvements:
- Improve sort orders on iOS. (#620)
Improvements:
- Prettify file name on iOS. (#615)
Improvements:
- Support
presentLimited
with the new API on iOS 15. (#609)
Improvements:
- Obtain more albums on iOS/macOS. (#601)
Improvements:
- Loosen comparison between
AssetEntity
s.
Improvements:
- Apply more fields to compare between entities.
Fixes:
fetchPathProperties
returned wrongisAll
on iOS. (#580)updateTimeCond
not constructed correctly withFilterOptionGroup
.
Improvements:
- Repo cleanup.
Fixes:
- Removed recursive calls with progress handler. (#577)
We're bumping the minor version because we've achieved recent goals and applied multiple Fixes: which make this plugin as the most solid ever.
Features:
- Add orientated getters. (#575)
Fixes:
- Saving methods return null. (#573)
Improvements:
- Improve
AssetEntity.getMediaUrl()
behaviors.
Fixes:
- Merge all fields for
FilterOptionGroup
. - Make
AssetEntity.isLocallyAvailable
as aFuture
getter.
Fixes:
- Apply further fix to #559 .
- Repo cleanup.
Fixes:
- #558
- #559
- #560
Fixes:
- Fix
open
setting for macOS. - Fix
setLog
for iOS and macOS.
Fixes:
saveImage
method missing file extension for the fallback title.openSettings
method.
Fixes:
- Change notify issue on remove callback.
- Reply result for
presentLimited
method.
Feature:
- Add assets count change when notify on iOS.
- Add some properties and methods for change notify.
Fixes:
- Add request permissions result listener when activity re-attached. (#515)
Fixes:
- An error of iOS. See #509 and #510 .
Feature:
- Add requestPermissionExtend code to support iOS 14 permission.
- Add update limited photos method for iOS 14.
Fixes:
- Permissions dialog of launch on old iOS versions. (#503)
- The
MEDIA_LOCATION
permission of android can be removed through configuration.
- Revert #478 .
- Fix thumbnail size of the entity on iOS/macOS.
- Merged #478 .
- Merged the code of macOS and ios.
- Updated the code in the macOS part.
Fixes:
thumbWithSize
ofAssetEntity
.
Feature:
modified
ofAssetPathEntity
.- Update constructor of
FilterOptionGroup
.
Fixes:
- Order option of the
FilterOptionGroup
.
- Add relative path when saving files to the MediaStore on Android 29+ (#462)
- Fix deleteWithIds typecast issue with Android 29- (#460)
- Add mime type for android.
- Fix serious code usage issue in convert utils.
- Improve the constructor for
AssetEntity
.
- Fix orientation bug.
Breaking change:
- Migrate to null safety.
- Correct type in
PMRequestState
.
Feature
- Support android API 30.
- Support show empty album in iOS (#365).
- User can ignore check permission(User can choose favorite permission plugin, but at the same time user have to bear the risks corresponding to the permission).
- Support clean file cache.
- Experimental
- Preload image (Use
PhotoCachingManager
api.)
- Preload image (Use
- Add
OrderOption
as sort condition. The option default value is order by create date desc; - Support icloud asset progress.
Fixes:
- #362
- Delete assets in androidQ.
- Edited image data in iOS.
- Fix delete error in androidR.
Breaking change:
- Support multiple sorting conditions, and the
asc
ofDateTimeCond
is removed.
Fixes:
- Delete assets in androidQ.
Fixes:
- Audio asset error for androidQ. See #340 and #341 .
- Fix save image with path for android.
- Remove verbose log.
- Add
merge
forFilterOptionGroup
andFilterOption
.
- Add
copyWith
forFilterOption
.
- Support android v2 model.
Fixes:
- Cannot get audio problem in androidQ.
- Support macOS.
- From the version, Starting from this version, 1.9 or earlier versions are not supported.
Feature:
- Save image asset with file path.
- Copy asset to another album.
- Create AssetEntity with id.
- Create AssetPathEntity from id.
- Only iOS
- Create folder or album.
- Remove assets in album.
- Delete folder or album.
- Favorite asset.
- Only android
- move asset to another path.
- Remove all non-existing rows.
- add
relativePath
for android.
Fixes:
- Problem of AssetPathEntity.refreshPathProperties.
- Open setting in iOS.
- Edited asset in iOS.
- Audio properties of FilterOption.
- Android onlyAll assetCount bug.
Change:
- Modified
AssetEntity.file
's behavior on iOS, it will return a picture in jpg format instead of heic/gif/png currently. Now more in line with the description in the doc, this is suitable for uploading images (theoretically, no Exif information will be included). - Update android change media url from file scheme to content scheme.
- Clean up some unused code.
Feature:
- Add
getSubPathEntities
forAssetPathEntity
. - Add
quality
forAssetEntity.thumbDataWithSize
. - Add
orientation
forAssetEntity
. - Add
onlyAll
forgetAssetPathList
. - Support audio type(Only android, iOS Photos have no audio)
- Breaking change, Add date condition to filter datetime
- Add class
DateTimeCond
- Add
dateTimeCond
toFilterOptionGroup
- Remove
fetchDateTime
fromgetAssetPathList
- Remove param
dt
fromAssetPathEntity.refreshPathProperties
, and addrefreshPathProperties
params to the method.
- Add class
Update:
- Breaking change, Split video filter and image filter
- iOS code is running background thread.
- getThumb is running in background thread.
Fixes:
- exists error on android.
- use edited origin file on iOS.
- galleryName maybe is null in android.
- thumb of android 10.
Fixes:
- #169
- #170
New feature:
- Add
FilterOption
for methodgetAssetPathList
.
Fixes:
- originFile of
AssetEntity
Add:
- location(
latitude
,longitude
) ofAssetEntity
title
ofAssetEntity
originBytes
ofAssetEntity
- param
format
inthumbDataWithSize
of assetEntity.
Fixes:
- Can't get thumb/file of video on androidQ.
Fixes:
- 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 modifyDate property.
- Fix videoDuration error.
Fixes:
- CreateDate error.
- Fix ios get full file size error.
- 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 manually.
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 methodgetImageAsset
,getVideoAsset
orgetAssetPathList
. - Add observer for photo change.
- Add field
createTime
forAssetEntity
.
- Add
getVideoAsset
andgetImageAsset
to load video / image.
- Add asset size field.
- Add cache release method.
- Fix when number of photo/video is 0, will crash.
- Add video duration.
- Sort asset by date.
- Fix 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.
- Change API from ImageXXXX to AssetXXXX.
- Update for the issue #1. (NPE when request other permission on android)
- Update README.
First version.
- API for photo.