116 Commits

Author SHA1 Message Date
Wenqi Li
4735075797 optimize code 2023-05-15 00:47:56 +08:00
Wenqi Li
96d756c8f0 update README 2023-05-14 03:35:32 +08:00
Wenqi Li
c43961ba94 update build.gradle file 2023-05-14 03:35:10 +08:00
Wenqi Li
4a2b9dcf1c optimize code 2023-05-14 03:18:55 +08:00
Wenqi Li
eafedcb225 upgrade "permission_handler" dependency in example app and request correct permission after android 33 2023-05-14 02:23:49 +08:00
Wenqi Li
88e0ad714b *Break changes:
• move "newest" parameter from "listMedia" to "listAlbums" API
• move "newest" property from "MediaPage" to "Media"
• add "newest" parameter of getAlbumThumbnail API
• update album parameter of AlbumThumbnailProvider
2023-05-14 01:08:51 +08:00
Wenqi Li
7898c4bde3 remove unnecessary "total" parameter of "listMedia" API, remove unnecessary "total" property of "MediaPage", use "total" of "Album" instead. 2023-05-12 18:08:16 +08:00
Wenqi Li
6976ab8d3b update "mediumType" to be optional parameter of "listAlbums" to allow fetch both type of media 2023-05-11 21:56:25 +08:00
Wenqi Li
1db9b6966e release version 1.2.2 2023-05-09 22:40:20 +08:00
Wenqi Li
0ee933a94e upgrade Android compileSdkVersion 2023-05-09 21:08:53 +08:00
Wenqi Li
a5e5543b3d upgrade deprecated code 2023-05-09 21:08:38 +08:00
Wenqi Li
f8842c89a8 update contentResolver.query calling and fix bugs 2023-05-09 21:07:53 +08:00
Wenqi Li
73f91d5c00 use QUERY_ARG_SQL_SORT_ORDER in contentResolver.query after android 30 2023-05-09 21:05:16 +08:00
Wenqi Li
c79a684879 use DecoderBufferCallback instead of DecoderCallback in ImageProviders 2023-05-07 20:03:01 +08:00
Wenqi Li
b9daf27c62 release version 1.2.1 2023-05-07 02:01:33 +08:00
Wenqi Li
340636ce33 remove deprecated splash screen metadata in AndroidManifest.xml 2023-05-07 02:01:28 +08:00
Wenqi Li
090d9e00e9 change DATE_TAKEN to DATE_ADDED of media column 2023-05-07 02:00:48 +08:00
Wenqi Li
702ae7a5e3 upgrade video_player version in example app 2023-05-06 02:21:25 +08:00
Wenqi Li
7f2a48f224 update AndroidManifest.xml by removing requestLegacyExternalStorage flag and adding uses-permission tag 2023-05-06 01:20:13 +08:00
Wenqi Li
ab0f81607b add size property of medium 2023-05-06 01:20:04 +08:00
Wenqi Li
dce3b48e90 release version 1.2.0 2023-05-05 23:52:26 +08:00
Wenqi Li
3db02aa2ec remove unused imports 2023-05-05 23:38:02 +08:00
Wenqi Li
27044f4f15 upgrade gradle version 2023-05-05 23:10:32 +08:00
Wenqi Li
558fc0a182 remove "enableR8" attribute in gradle.properties 2023-05-05 23:09:22 +08:00
Wenqi Li
7ebbd66c53 remove jcenter repository in build.gradle 2023-05-05 23:09:06 +08:00
Wenqi Li
6a68b22df0 update getting album thumbnail service and AlbumThumbnailProvider to show all grey image when album is empty 2023-05-03 18:55:29 +08:00
Wenqi Li
f4d3b45070 add all grey image asset 2023-05-03 18:55:09 +08:00
Wenqi Li
5eaecce783 remove MediaStore.Video.Media.ORIENTATION field of video metadata 2023-05-03 18:54:41 +08:00
Wenqi Li
f4ca41daa1 clean up code 2023-05-03 18:54:23 +08:00
Wenqi Li
4b5463cfa1 add gradle build repositories 2023-05-03 18:53:58 +08:00
Wenqi Li
c7db355a12 update versions of flutter, android, kotlin, gradle, CocoaPods, iOS and so on 2023-05-03 02:26:53 +08:00
Wenqi Li
366b4c361c correct typo in docs 2021-11-15 15:10:57 +08:00
Wenqi Li
5a5052001a release version 1.1.1 2021-10-21 23:37:19 +08:00
Wenqi Li
54a5f6bad9 add "filename" and "title" property of Medium 2021-10-21 23:04:36 +08:00
Wenqi Li
330fd1929e update README.md 2021-10-21 19:01:52 +08:00
Wenqi Li
077690a43f fix a bug that "newest" is not working on Android sdk 29 or below 2021-10-21 13:30:05 +08:00
Wenqi Li
476d9f2837 release version 1.1.0 2021-10-21 10:22:43 +08:00
Wenqi Li
79df5c21ea update album name property to nullable 2021-10-20 21:27:32 +08:00
Wenqi Li
50d9070995 convert orientation property value of medium to satisfy EXIF standard both on Android and iOS (on iOS, provide orientation property only when get single medium rather than list media) 2021-10-20 19:37:38 +08:00
Wenqi Li
35999af628 fix bugs when add "orientation" parameter on Android 2021-10-20 15:00:08 +08:00
Wenqi Li
a34616757d
Merge pull request #34 from freeh18/intro_orientation
Adding the orientation parameter of images and videos for Android
2021-10-19 20:52:58 +08:00
Wenqi Li
73fc682e6b
Merge pull request #32 from bjartebore/limit_issue
contentResolver with Bunlde() should only be used after sdk 30
2021-10-19 20:41:15 +08:00
Christian Spreer
fa6414da13 Adding the orientation parameter of images and videos to the library in android 2021-07-09 18:45:20 +02:00
Bjarte bore
b8f1a7f623 contentResolver with Bunlde() should only be used after sdk 30 if QUERY_ARG_LIMIT is used 2021-06-09 10:13:43 +02:00
Wenqi Li
d2af8d254b release version 1.0.1 2021-04-21 22:19:20 +08:00
Wenqi Li
fe602c1281 accept highQuality parameter in "getThumbnail" and "getAlbumThumbnail" API on Android platform 2021-04-21 18:53:24 +08:00
Wenqi Li
7ccffc30d2 improve default thumbnail resolution on Android 2021-04-18 16:47:25 +08:00
Wenqi Li
ea75f18cfe add optional "hideIfEmpty" parameter in "listAlbums" API to show empty albums, only available on iOS platform 2021-04-18 16:15:24 +08:00
Wenqi Li
270432154d add "mimeType" parameter in "getFile" API to allow specifying image format when get full image on both platforms 2021-04-13 22:02:35 +08:00
Wenqi Li
f40f83204f update README.md to use newest argument in ``listMedia`` API 2021-04-04 20:48:01 +08:00