35 Commits

Author SHA1 Message Date
Wenqi Li
2887edc455 remove Objective-C code and rename PhotoGalleryPlugin.swift 2023-08-14 01:06:39 +08:00
Wenqi Li
7c48244058 reformat iOS code 2023-07-27 21:24:49 +08:00
Wenqi Li
d21edf5cac update iOS code of getting medium info 2023-07-27 16:16:15 +08:00
Wenqi Li
9f8e0aefca update getting medium info from asset on iOS platform 2023-07-27 00:26:16 +08:00
Wenqi Li
977c2ca2c6 update iOS code to improve performance 2023-07-26 22:56:30 +08:00
Wenqi Li
fe0e80e32a rearrange and clean up code 2023-07-24 00:42:07 +08:00
Wenqi Li
2d80702f09 optimize iOS code 2023-07-24 00:40:57 +08:00
Wenqi Li
7635a8243f simplify deleting medium method in iOS code 2023-07-24 00:38:25 +08:00
Kwanwoo Kim
cbe3150ef0 LightWeight option for iOS 2023-06-25 22:41:36 -07:00
Kwanwoo Kim
9fc637fa50 Delete Medium for iOS 2023-06-25 17:29:58 -07:00
Wenqi Li
4a2b9dcf1c optimize code 2023-05-14 03:18:55 +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
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