Skip to content

A capacitor plugin for Android and IOS to read big files in chunks

Notifications You must be signed in to change notification settings

Kheoss/capacitor-file-chunk-upload

Repository files navigation

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

About

A capacitor plugin for Android and IOS to read big files in chunks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published