Capacitor plugin to pick files
npm install @whiteguru/capacitor-plugin-file-pickerCapacitor plugin to pick files
``bash`
npm install @whiteguru/capacitor-plugin-file-picker
npx cap sync
`bash`
npm install @whiteguru/capacitor-plugin-file-picker^6.0.1
npx cap sync
`bash`
npm install @whiteguru/capacitor-plugin-file-picker@^5.0.1
npx cap sync
`bash`
npm install @whiteguru/capacitor-plugin-file-picker@^4.0.1
npx cap sync
`bash`
npm install @whiteguru/capacitor-plugin-file-picker@3.0.1
npx cap sync
`typescript`
pick(options: FilePickerOptions) => Promise
| Param | Type |
| ------------- | --------------------------------------------------------------- |
| options | FilePickerOptions |
Returns: Promise<FilePickerResults>
--------------------
#### FilePickerResults
| Prop | Type |
| ----------- | ------------------------------- |
| files | FilePickerResult[] |
#### FilePickerResult
| Prop | Type | Description |
| --------------- | ------------------- | ----------------------------------------------------------------------------------------------------------------- |
| path | string | File Path |
| webPath | string | webPath returns a path that can be used to set the src attribute of an image for efficient loading and rendering. |
| name | string | File Name |
| extension | string | File Extensions |
#### FilePickerOptions
| Prop | Type | Description |
| -------------- | --------------------- | --------------------- |
| multiple | boolean | Select multiple Files |
| mimes` | string[] | Mimes to select |