Socket
Socket
Sign inDemoInstall

@de-dan/capacitor-file-select

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @de-dan/capacitor-file-select

A Capacitor Plugin to select Files


Version published
Maintainers
1
Created

Readme

Source

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

ParamType
optionsFileSelectOptions

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


Interfaces

FileSelectResult
PropTypeDescription
pathstringFile Path
namestringFile Name
extensionstringFile Extensions
FileSelectOptions
PropTypeDescription
multiplebooleanSelect multiple Files
extensionsstring[]Extensions to select

Keywords

FAQs

Last updated on 23 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc