@capgo/capacitor-file-picker 8.2.1 → 8.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @capgo/capacitor-file-picker
|
|
2
2
|
|
|
3
|
-
Let users pick files, images, videos and folders with the native pickers on iOS and Android, with a web fallback.
|
|
3
|
+
Let users pick files, images, videos and folders with the native pickers on iOS and Android, with a web fallback for files and media. Convert HEIC photos on iOS and copy picked files where you need them.
|
|
4
4
|
|
|
5
5
|
<a href="https://capgo.app/?ref=plugin_file_picker"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-file-picker" alt="Capgo - Instant updates for Capacitor" /></a>
|
|
6
6
|
|
|
@@ -18,9 +18,9 @@ Let users pick files, images, videos and folders with the native pickers on iOS
|
|
|
18
18
|
## Key features
|
|
19
19
|
|
|
20
20
|
- **Files**: `pickFiles()` picks one or more files of any type.
|
|
21
|
-
- **Media**: `pickImages()`, `pickVideos()` and `pickMedia()` open the photo library picker.
|
|
21
|
+
- **Media**: `pickImages()`, `pickVideos()` and `pickMedia()` open the photo library picker on iOS and Android. On web they open the browser file picker filtered by type.
|
|
22
22
|
- **Folders**: `pickDirectory()` returns a directory on iOS and Android.
|
|
23
|
-
- **HEIC and copy**: `convertHeicToJpeg()` converts photos and `copyFile()`
|
|
23
|
+
- **HEIC and copy**: `convertHeicToJpeg()` converts photos on iOS and `copyFile()` copies a picked file to a new location.
|
|
24
24
|
- **Picker events**: a `pickerDismissed` listener plus storage permission helpers.
|
|
25
25
|
- **Platforms**: iOS, Android and Web. Directory picking, HEIC conversion and file copy are native only.
|
|
26
26
|
|
|
@@ -11,7 +11,7 @@ import UniformTypeIdentifiers
|
|
|
11
11
|
*/
|
|
12
12
|
@objc(CapgoFilePickerPlugin)
|
|
13
13
|
public class CapgoFilePickerPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
14
|
-
private let pluginVersion: String = "8.2.
|
|
14
|
+
private let pluginVersion: String = "8.2.2"
|
|
15
15
|
public let identifier = "CapgoFilePickerPlugin"
|
|
16
16
|
public let jsName = "CapgoFilePicker"
|
|
17
17
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED