23 Commits

Author SHA1 Message Date
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
ab0f81607b add size property of medium 2023-05-06 01:20:04 +08:00
Wenqi Li
54a5f6bad9 add "filename" and "title" property of Medium 2021-10-21 23:04:36 +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
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
6baf8cfb0c add sorting photos by date ascending or descending functionality 2021-04-04 20:34:05 +08:00
Wenqi Li
e74d40b682 add modificationDate as second sort key in iOS 2021-04-04 18:17:11 +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
749188bb82 keep original medium file extension 2021-01-10 17:34:37 +08:00
Wenqi Li
f9acd58270 cache original image data in iOS 2021-01-10 14:57:40 +08:00
Wenqi Li
86b23f976c
Merge pull request #13 from quanghd96/master
fix collection nil
2021-01-09 18:09:36 +08:00
Đặng Ngọc Quảng
f742e6e666
fix collection nil 2020-11-24 15:54:33 +07:00
jianjun
c51a34e70d Fix: use sub path /Document/photo_gallery to save file 2020-10-22 15:52:02 +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
4548239b7b rearrange code 2020-09-20 16:03:29 +08:00
Wenqi Li
7398873cf4 clean up code 2020-09-20 16:02:18 +08:00
Ivan Kuznetsov
613d0c466e
Force getFile to use highest quality videos
It looks like images are forced to be in high quality (see line 321) but videos aren't. This commit forces videos to be in high quality format
2020-09-19 17:13:21 +03:00
Wenqi Li
359a86dfa8 change medium creationDate and modifiedDate precision from second to millisecond on iOS platform 2020-08-18 16:30:56 +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