Integrator Cordova Plugin Downloader

Cordova android plugin for downloading files via DownloadManager
Alternatives To Integrator Cordova Plugin Downloader
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Youtube Music3,137
a day ago260mitJavaScript
YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
Flutter_downloader81422118 days ago53May 26, 2022280bsd-3-clauseKotlin
Flutter Downloader - A plugin for creating and managing download tasks. Maintainer: @bartekpacia
Happypandax743
2 days ago85lgpl-3.0JavaScript
A cross-platform server and client application for managing and reading manga and doujinshi
Gradle Download Task60264112 days ago34May 04, 20224apache-2.0Java
📥 Adds a download task to Gradle that displays progress information
Fanficfare587
5 days ago107June 01, 202227otherPython
FanFicFare is a tool for making eBooks from stories on fanfiction and other web sites.
Keepass Yet Another Favicon Downloader396
a year ago9mitC#
Yet Another Favicon Downloader for KeePass 2.x
Mangaripper159
2 years ago21mitC#
This software helps you download manga (Japanese Comic) from several websites for your offline viewing.
Mymanga66
5 years ago12gpl-3.0C#
Manga downloader and reader for Windows 7/8.1/10. Written in C# with a clean and simple WPF interface.
Cordova Plugin Apkupdater62
4 months ago24December 10, 2021mitJava
This plugin allows your Android app to download and install compressed updates without the Google Play Store.
Mindl44
6 years ago5December 21, 201611agpl-3.0Go
A downloader for various sites and services.
Alternatives To Integrator Cordova Plugin Downloader
Select To Compare


Alternative Project Comparisons
Readme

Android Downloader Cordova plugin

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

Installation

cordova plugin add integrator-cordova-plugin-downloader

Usage

Create download request. For more info on parameter use refer to DownloadRequest.


var request = {
	//Location of the resource to download
	uri: '',
	//Title of this download, to be displayed in notifications
	title: '',
	//Description of this download, to be displayed in notifications
	description: '',
	//This will override the content type declared in the server's response.
	mimeType: '',
	//Set whether this download should be displayed in the system's Downloads UI. True by default
	visibleInDownloadsUi: true,
	//Control when a system notification is posted by the download manager.
	notificationVisibility: 0,
	// Set the local destination to a path within the application's external files directory
	destinationInExternalFilesDir: {
		dirType: '',
		subPath: '' //Path within the external directory, including the destination filename
	},
	//Set the local destination to a path within the application's public external storage directory
	destinationInExternalPublicDir: {
		dirType: '',
		subPath: '' //Path within the external directory, including the destination filename
	},
	//Set the local destination for the downloaded file.
	destinationUri: '',
	//Additional HTTP headers to be included with the download request.
	headers: [{header: 'Authorization', value: 'Bearer iaksjfd89aklfdlkasdjf'}]
};

Starts download and returns location uri on completion


cordova.plugins.Downloader.download(request,
		(location) => { alert('File is downloaded at' + location) },
		(err) => { alert(err)})

Credits and License

Based on Emil Bay's cordova-plugin-android-downloadmanager

Popular Plugin Projects
Popular Downloader Projects
Popular Libraries Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Plugin
Downloader
Completion
Uri
Download Manager