Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis. Learn more
Socket
Log inDemoInstall

integrator-cordova-plugin-downloader

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Issues
File Explorer

Advanced tools

integrator-cordova-plugin-downloader

Downloader

    1.1.0latest
    GitHub

Version published
Maintainers
1
Weekly downloads
519
decreased by-31.8%

Weekly downloads

Readme

Source

Android Downloader Cordova plugin

This plugin is designed to support downloading files using Android DownloadManager.

Installation

cordova plugin add integrator-cordova-plugin-downloader

Usage

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));

Credits and License

Based on Emil Bay's cordova-plugin-android-downloadmanager(https://github.com/emilbayes/cordova-plugin-android-downloadmanager)

Keywords

FAQs

Last updated on 21 Nov 2018

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.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc