All Projects → a7ul → react-native-simple-download-manager

a7ul / react-native-simple-download-manager

Licence: MIT license
A react native module to schedule downloads on native download manager

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-native-simple-download-manager

Firedm
python open source (Internet Download Manager) with multi-connections, high speed engine, based on python, LibCurl, and youtube_dl https://github.com/firedm/FireDM
Stars: ✭ 977 (+2691.43%)
Mutual labels:  download, manager
Itorrent
Torrent client for iOS 9.3+
Stars: ✭ 632 (+1705.71%)
Mutual labels:  download, manager
Port-Able-Suite
🌐 Manager for portable applications
Stars: ✭ 35 (+0%)
Mutual labels:  download, manager
Altohttp
AltoHttp provides fast and easy download management
Stars: ✭ 48 (+37.14%)
Mutual labels:  download, manager
sqlite3
The fastest and correct module for SQLite3 in Deno.
Stars: ✭ 143 (+308.57%)
Mutual labels:  native
torrent-webseed-creator
Webseeded torrent creator using GitHub Actions
Stars: ✭ 54 (+54.29%)
Mutual labels:  download
IMDb-Scout-Mod
Auto search for movie/series on torrent, usenet, ddl, subtitles, streaming, predb and other sites. Adds links to IMDb pages from hundreds various sites. Adds movies/series to Radarr/Sonarr. Adds external ratings from Metacritic, Rotten Tomatoes, Letterboxd, Douban, Allocine. Media Server indicators for Plex, Jellyfin, Emby. Dark theme/style for …
Stars: ✭ 177 (+405.71%)
Mutual labels:  download
InitWare
The InitWare Suite of Middleware allows you to manage services and system resources as logical entities called units. Its main component is a service management ("init") system.
Stars: ✭ 164 (+368.57%)
Mutual labels:  manager
crunchyroll-dl
A fast, modern, and beautiful Crunchyroll downloader.
Stars: ✭ 111 (+217.14%)
Mutual labels:  download
download
Dateidownloads von Files aus dem Medienpool über PHP oder X-SendFile
Stars: ✭ 30 (-14.29%)
Mutual labels:  download
Google-Images-Search
[PYTHON] Search for image using Google Custom Search API and resize & crop afterwards
Stars: ✭ 121 (+245.71%)
Mutual labels:  download
UnityNativeTool
Allows to unload native plugins in Unity3d editor
Stars: ✭ 147 (+320%)
Mutual labels:  native
react-native-uuid-generator
UUID generator for React Native utilizing native iOS and Android UUID classes
Stars: ✭ 88 (+151.43%)
Mutual labels:  native
fbdl
📥 Download publicly shared videos from Facebook with an ease!
Stars: ✭ 29 (-17.14%)
Mutual labels:  download
Spotifarr
Spotifarr
Stars: ✭ 35 (+0%)
Mutual labels:  download
WebRTC
Universal WebRTC XCFramework for iOS/macOS. AppRTCDemo for iOS/macOS.
Stars: ✭ 48 (+37.14%)
Mutual labels:  native
bandcamp-dl
A browser automation script to batch download your private bandcamp collection.
Stars: ✭ 30 (-14.29%)
Mutual labels:  download
UnityLauncherPro
Unity Hub Alternative Project Launcher with time saving features!
Stars: ✭ 226 (+545.71%)
Mutual labels:  manager
fansly
Simply scrape / download all the media from an fansly account
Stars: ✭ 351 (+902.86%)
Mutual labels:  download
Brush Manager
Brush Manager is an add-on for Blender that helps you to create custom brushes, store them in a file and organize the library of various categories of brushes.
Stars: ✭ 75 (+114.29%)
Mutual labels:  manager

react-native-simple-download-manager

A simple straightforward react native module that lets you schedule downloads onto your download manager for android.

  • Support custom headers for authentication
  • File download scheduler
  • Cancel file downlaod
  • Check status of the download

TODO - ios module

Installation:

yarn add react-native-simple-download-manager

or

npm i react-native-simple-download-manager --save

Mostly automatic installation

react-native link react-native-simple-download-manager

Manual installation

Android

  1. Open up android/app/src/main/java/[...]/MainApplication.java
  • Add import com.masteratul.downloadmanager.ReactNativeDownloadManagerPackage; to the imports at the top of the file
  • Add new ReactNativeDownloadManagerPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-simple-download-manager'
    project(':react-native-simple-download-manager').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-simple-download-manager/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-simple-download-manager')
    

Usage

const downloadManager = require("react-native-simple-download-manager");

const url = "http://url/to/file.ext?query=parmas";
const headers = { Authorization: "Bearer abcsdsjkdjskjdkskjd" };
const config = {
  downloadTitle: "Title that should appear in Native Download manager",
  downloadDescription:
    "Description that should appear in Native Download manager",
  saveAsName: "File name to save",
  allowedInRoaming: true,
  allowedInMetered: true,
  showInDownloads: true,
  external: false, //when false basically means use the default Download path (version ^1.3)
  path: "Download/" //if "external" is true then use this path (version ^1.3)
};

downloadManager
  .download((url = ""), (headers = {}), (config = {}))
  .then(response => {
    console.log("Download success!");
  })
  .catch(err => {
    console.log("Download failed!");
  });

Advanced Usage

The module currently supports

  • download,
  • queueDownload,
  • attachOnCompleteListener,
  • cancel,
  • checkStatus

You can check https://github.com/master-atul/react-native-simple-download-manager/blob/master/index.js

Contributors

Peace ! ✌🏻🌮

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].