0.0.11 • Published 2 years ago

capacitor-ios-file-picker v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

capacitor-ios-file-picker

Allows picking one or more files/directories on iOS, including files from outside your app's sandbox. Under the covers, we use the iOS UIDocumentPickerViewController and security-scoped URLs to accomplish this.

Install

npm install capacitor-ios-file-picker
npx cap sync

API

chooseDirectory()

chooseDirectory() => Promise<UrlBookmark>

Returns: Promise<UrlBookmark>


accessDirectory(...)

accessDirectory(options: UrlBookmark) => Promise<SecureUrl>
ParamType
optionsUrlBookmark

Returns: Promise<SecureUrl>


releaseDirectory(...)

releaseDirectory(options: UrlBookmark) => Promise<void>
ParamType
optionsUrlBookmark

Interfaces

UrlBookmark

PropType
urlBookmarkstring

SecureUrl

PropType
urlstring
0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago