37 Commits

Author SHA1 Message Date
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
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
090d9e00e9 change DATE_TAKEN to DATE_ADDED of media column 2023-05-07 02:00:48 +08:00
Wenqi Li
ab0f81607b add size property of medium 2023-05-06 01:20:04 +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
5eaecce783 remove MediaStore.Video.Media.ORIENTATION field of video metadata 2023-05-03 18:54:41 +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
54a5f6bad9 add "filename" and "title" property of Medium 2021-10-21 23:04:36 +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
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
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
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
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
6baf8cfb0c add sorting photos by date ascending or descending functionality 2021-04-04 20:34:05 +08:00
Wenqi Li
4b8a457fa9 change QUERY_ARG_SORT_DIRECTION value from array to int in Android 2021-04-04 18:18:04 +08:00
Wenqi Li
af598888b8 add alternative media query syntax for Android 11 2021-01-12 16:49:53 +08:00
Wenqi Li
a44d9da2ea add mimeType attribute in Medium 2021-01-10 21:43:49 +08:00
Wenqi Li
5ddd31fed9 add cleanCache api 2021-01-10 21:09:25 +08:00
Wenqi Li
25e91dd962 fix typo 2021-01-10 13:47:19 +08:00
Wenqi Li
b01b32b39f update .gitignore and remove untracked files from repository 2021-01-09 20:19:48 +08:00
Wenqi Li
a41149e10e update android gradle version 2020-09-20 18:52:51 +08:00
Wenqi Li
ce9184372b add optional mediumType parameter of getAlbumThumbnail api method to display video thumbnail correctly 2020-09-20 18:34:26 +08:00
Wenqi Li
9196eddccd wrap contentResolver.loadThumbnail method in try/catch, when FileNotFoundException threw return null instead. 2020-08-22 14:12:11 +08:00
Wenqi Li
32129c5e9e add video duration attribute in Medium 2020-08-18 16:12:06 +08:00
Wenqi Li
67d2a5f8a2 initial commit 2020-08-14 18:07:27 +08:00