capacitor-file-chunk-reader
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

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: DropboxMobileOptions) => Promise<{ data: string; }>
Param Type
options DropboxMobileOptions

Returns: Promise<{ data: string; }>


dropboxUploadFileChunk(...)

dropboxUploadFileChunk(options: DropboxMobileOptions | DropboxWebOptions) => void
Param Type
options DropboxMobileOptions | DropboxWebOptions

dropboxUploadFile(...)

dropboxUploadFile(options: DropboxMobileOptions | DropboxWebOptions) => void
Param Type
options DropboxMobileOptions | DropboxWebOptions

azureBlobStorageUploadFileChunk(...)

azureBlobStorageUploadFileChunk(options: AzureBlobStorageMobileOptions | AzureBlobStorageWebOptions) => void
Param Type
options AzureBlobStorageMobileOptions | AzureBlobStorageWebOptions

azureBlobStorageUploadFile(...)

azureBlobStorageUploadFile(options: AzureBlobStorageMobileOptions | AzureBlobStorageWebOptions) => void
Param Type
options AzureBlobStorageMobileOptions | AzureBlobStorageWebOptions

Interfaces

DropboxMobileOptions

Prop Type
uri string
accessToken string
targetPath string
fileSize number

DropboxWebOptions

Prop Type
accessToken string
file File
targetPath string
progressCallback (progress: any) => void
doneCallback (success: boolean, response: any) => void

AzureBlobStorageMobileOptions

Prop Type
sasToken string
accountName string
containerName string
targetPath string
fileSize number

AzureBlobStorageWebOptions

Prop Type
sasToken string
accountName string
containerName string
file File
targetPath string
progressCallback (progress: any) => void
doneCallback (success: boolean, response: any) => void

Readme

Keywords

Package Sidebar

Install

npm i capacitor-file-chunk-reader

Weekly Downloads

1

Version

0.1.9

License

MIT

Unpacked Size

113 kB

Total Files

26

Last publish

Collaborators

  • kheoss