/capacitor-file-chooser

Capacitor file chooser plugin

Primary LanguageSwiftOtherNOASSERTION

Simple file chooser

use https://github.com/hinddeep/capacitor-file-selector

Install

npm install @innoline/capacitor-file-chooser
npx cap sync

API

getFiles(...)

getFiles(accept?: string | undefined) => Promise<ChooserData>
Param Type
accept string

Returns: Promise<ChooserData>


Interfaces

ChooserData

Prop Type
data ChooserFile[]
message string
code string

ChooserFile

Prop Type
mediaType string
name string
uri string
size number