integrator-cordova-plugin-downloader
Advanced tools
Weekly downloads
Readme
This plugin is designed to support downloading files using Android DownloadManager.
cordova plugin add integrator-cordova-plugin-downloader
var request = {
uri: '',
title: '',
description: '',
mimeType: '',
visibleInDownloadsUi: true,
notificationVisibility: 0,
// Either of the next three properties
destinationInExternalFilesDir: {
dirType: '',
subPath: ''
},
destinationInExternalPublicDir: {
dirType: '',
subPath: ''
},
destinationUri: '',
headers: [{header: 'Authorization', value: 'Bearer iaksjfd89aklfdlkasdjf'}]
};
this.downloader.download(request)
.then((location) => console.log('File download location:' + location))
.catch((error) => console.error(error));
Based on Emil Bay's cordova-plugin-android-downloadmanager(https://github.com/emilbayes/cordova-plugin-android-downloadmanager)
FAQs
Downloader
The npm package integrator-cordova-plugin-downloader receives a total of 503 weekly downloads. As such, integrator-cordova-plugin-downloader popularity was classified as not popular.
We found that integrator-cordova-plugin-downloader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.