photo_gallery 1.2.2 copy "photo_gallery: ^1.2.2" to clipboard
photo_gallery: ^1.2.2 copied to clipboard

A Flutter plugin that retrieves images and videos from mobile native gallery.

1.2.2 #

Upgrade deprecated code.

Use QUERY_ARG_SQL_SORT_ORDER in contentResolver.query to fix sorting bug after Android 11.

Upgrade Android compileSdkVersion to 33.

1.2.1 #

Change DATE_TAKEN to DATE_ADDED of media column in android code.

Add size property of medium.

Update AndroidManifest.xml with removing requestLegacyExternalStorage flag and SplashScreen meta-data tag.

1.2.0 #

Upgrade versions of flutter, android sdk, kotlin, gradle and so on.

Remove ORIENTATION field of video metadata because it's invalid before Android 10.

Add default album thumbnail to show when album is empty.

1.1.1 #

Fix a bug that "newest" argument is not working on Android 29 or below.

Add "filename" and "title" property of Medium.

1.1.0 #

Use Android contentResolver Bundle() only on sdk 30+.

Add "orientation" property of Medium to meet EXIF standard, but on iOS listing media API don't provide it.

Update album name property to nullable.

1.0.1 #

Add "mimeType" parameter in "getFile" API to allow specifying image format when get full image on both platforms.

Add optional "hideIfEmpty" parameter in "listAlbums" API to show empty albums, only available on iOS platform.

Accept "highQuality" parameter in "getThumbnail" and "getAlbumThumbnail" API on Android platform.

1.0.0 #

Add null safety support.

Add sorting by newest or oldest functionality to listMedia API.

0.4.0 #

Add cleanCache api to clean the cache directory.

Add mimeType attribute of Medium.

Add alternative media query syntax to support Android 11.

Cache original image data to a cached file and keep original medium file extension in iOS.

Fix a problem of collection possibly be nil.

Update .gitignore file.

0.3.0 #

Force getFile to use high quality format for videos in iOS platform.

Add optional mediumType parameter of getAlbumThumbnail api method to display video thumbnail correctly.

0.2.5 #

Remove MediumType attribute in MediaPage.

Remove MediumType parameter in _listMedia method.

0.2.4 #

Add VideoProvider widget to play video in plugin example.

0.2.3 #

Add MediumType attribute in ThumbnailProvider.

Fix a bug that throw FileNotFountException when load image and video thumbnail doesn't exists on Android API 29+.

Change medium creationDate and modifiedDate precision from second to millisecond on iOS platform.

Add video duration attribute in ```Medium``.

0.2.0+1 #

Release 0.2.0+1.

0.1.1+1 #

Remove transparent_image dependency out of plugin.

0.1.0+1 #

Initial release.

155
likes
140
pub points
95%
popularity

Publisher

unverified uploader

A Flutter plugin that retrieves images and videos from mobile native gallery.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on photo_gallery