I dedicate a considerable amount of my free time to developing and maintaining many cordova plugins for the community (See the list with all my maintained plugins).
To help ensure this plugin is kept updated,
new features are added and bugfixes are implemented quickly,
please donate a couple of dollars (or a little more if you can stretch) as this will help me to afford to dedicate time to its maintenance.
Please consider donating if you're using this plugin in an app that makes you money,
or if you're asking for new features or priority bug fixes. Thank you!

Description
community-cordova-plugin-files-picker
is a Cordova plugin that allows users to select files from their device (images, videos, or any files) and retrieve either the file's absolute path or a Base64-encoded representation. The plugin supports both Android and iOS platforms.
Features
- Pick multiple or single files
- Support for different file types (images, videos, all)
- Return files as absolute paths or Base64 strings
- Support for Android and iOS
Installation
To install the plugin, run:
cordova plugin add community-cordova-plugin-files-picker
Usage
To use the plugin, simply call the pickFiles
method with the desired options.
const options: IFilesPickerOptions = {
type: 'image',
input: 'base64',
multiple: true
};
FilesPickerManager.pickFiles(options).then((files) => {
console.log(files);
}).catch((error) => {
console.error(error);
});
Options
-
type: The type of files to pick. Options are:
'image'
: Pick images only.
'video'
: Pick videos only.
'all'
: Pick any file type.
-
input: The format in which the files are returned. Options are:
'base64'
: Return the files as Base64-encoded strings.
'absolutePath'
: Return the files as absolute paths.
-
multiple: Whether to allow selecting multiple files. Defaults to true
.
Platform Support
Contributing
Feel free to submit issues or pull requests. Contributions are always welcome!
License
This plugin is licensed under the MIT License.