Skip to content

Latest commit

 

History

History
91 lines (58 loc) · 2.36 KB

README.md

File metadata and controls

91 lines (58 loc) · 2.36 KB

capacitor-file-chunk-reader

A capacitor plugin for Android and IOS to upload BIG files in chunks to

  • Dropbox
  • Azure Blob Storage

Install

npm install capacitor-file-chunk-reader
npx cap sync

API

readChunk(...)

readChunk(options: MobileOptions) => Promise<{ data: string; }>
Param Type
options MobileOptions

Returns: Promise<{ data: string; }>


uploadFileChunk(...)

uploadFileChunk(options: MobileOptions | WebOptions) => void
Param Type
options MobileOptions | WebOptions

uploadFile(...)

uploadFile(options: MobileOptions | WebOptions) => void
Param Type
options MobileOptions | WebOptions

Interfaces

MobileOptions

Prop Type
uri string
accessToken string
targetPath string
fileSize number

WebOptions

Prop Type
accessToken string
file File
targetPath string