Skip to content

de-dan/capacitor-file-select

 
 

Repository files navigation

Capacitor File Select

Maintenance npm

👉🏼 Note: this Plugin is developed for Capacitor V4

This Plugin it used to select Files from the Device. Information about supported Extensions can be found here:

Donate

This and other Open-Source Cordova Plugins are developed in my free time. 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, if you're being paid to make the app, if you're asking for new features or priority bug fixes.

Install

npm install capacitor-file-select
npx cap sync

Changelog

The full Changelog is available here

API

select(...)

select(options: FileSelectOptions) => Promise<{ files: FileSelectResult[]; }>

Opens the File Selector

Param Type
options FileSelectOptions

Returns: Promise<{ files: FileSelectResult[]; }>


Interfaces

FileSelectResult

Prop Type Description
path string File Path
name string File Name
extension string File Extensions

FileSelectOptions

Prop Type Description
multiple boolean Select multiple Files
extensions string[] Extensions to select

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 45.8%
  • Swift 22.8%
  • TypeScript 16.9%
  • Ruby 6.6%
  • Objective-C 4.6%
  • JavaScript 3.3%