@capgo/capacitor-file-picker
Capacitor File Picker Plugin interface for selecting files, images, videos, and directories.
Overview
Section titled “Overview”Capacitor File Picker Plugin interface for selecting files, images, videos, and directories.
Core Capabilities
Section titled “Core Capabilities”pickFiles- Pick one or more files from the device.pickImages- Pick one or more images from the gallery. Android/iOS only.pickVideos- Pick one or more videos from the gallery. Android/iOS only.pickMedia- Pick one or more images or videos from the gallery. Android/iOS only.
Public API
Section titled “Public API”| Method | Description |
|---|---|
pickFiles | Pick one or more files from the device. |
pickImages | Pick one or more images from the gallery. Android/iOS only. |
pickVideos | Pick one or more videos from the gallery. Android/iOS only. |
pickMedia | Pick one or more images or videos from the gallery. Android/iOS only. |
pickDirectory | Pick a directory from the device. Android/iOS only. |
convertHeicToJpeg | Convert a HEIC image to JPEG format. iOS only. |
copyFile | Copy a file to a new location. |
checkPermissions | Check permissions for reading files. Android only. |
requestPermissions | Request permissions for reading files. Android only. |
addListener | Add a listener for the picker dismissed event. iOS only. |
removeAllListeners | Remove all listeners for this plugin. |
getPluginVersion | Get the native Capacitor plugin version. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-file-picker.