import { Plugins } from '@capacitor/core'
const { FileTransfer } = Plugins
async function download(source: string, target: string): Promise<void> {
await FileTransfer.download({ source, target })
console.log('Download complete')
}
download('https://example.com/logo.png', 'file:///some/local/path/logo.png')
-
Notifications
You must be signed in to change notification settings - Fork 1
Capacitor plugin for downloading files
License
areo/capacitor-plugin-file-transfer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Capacitor plugin for downloading files
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published