{"id":19605119,"url":"https://github.com/a7ul/react-native-simple-download-manager","last_synced_at":"2026-05-05T18:02:11.432Z","repository":{"id":51843661,"uuid":"113822843","full_name":"a7ul/react-native-simple-download-manager","owner":"a7ul","description":"A react native module to schedule downloads on native download manager","archived":false,"fork":false,"pushed_at":"2023-01-12T11:32:01.000Z","size":118,"stargazers_count":36,"open_issues_count":11,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-20T03:10:27.682Z","etag":null,"topics":["android","download","manager","native","open-library","react","schedule-downloads"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-native-simple-download-manager","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a7ul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-11T06:45:34.000Z","updated_at":"2025-03-13T05:15:42.000Z","dependencies_parsed_at":"2023-02-09T11:31:56.077Z","dependency_job_id":null,"html_url":"https://github.com/a7ul/react-native-simple-download-manager","commit_stats":null,"previous_names":["master-atul/react-native-download-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a7ul/react-native-simple-download-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Freact-native-simple-download-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Freact-native-simple-download-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Freact-native-simple-download-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Freact-native-simple-download-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a7ul","download_url":"https://codeload.github.com/a7ul/react-native-simple-download-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Freact-native-simple-download-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32661193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","download","manager","native","open-library","react","schedule-downloads"],"created_at":"2024-11-11T09:41:14.894Z","updated_at":"2026-05-05T18:02:11.180Z","avatar_url":"https://github.com/a7ul.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-simple-download-manager\n\nA simple straightforward react native module that lets you schedule downloads onto your download manager for android.\n\n- Support custom headers for authentication\n- File download scheduler\n- Cancel file downlaod\n- Check status of the download\n\nTODO - ios module\n\n### Installation:\n\n`yarn add react-native-simple-download-manager`\n\nor\n\n`npm i react-native-simple-download-manager --save`\n\n### Mostly automatic installation\n\n`react-native link react-native-simple-download-manager`\n\n### Manual installation\n\n#### Android\n\n1. Open up `android/app/src/main/java/[...]/MainApplication.java`\n\n- Add `import com.masteratul.downloadmanager.ReactNativeDownloadManagerPackage;` to the imports at the top of the file\n- Add `new ReactNativeDownloadManagerPackage()` to the list returned by the `getPackages()` method\n\n2. Append the following lines to `android/settings.gradle`:\n   ```\n   include ':react-native-simple-download-manager'\n   project(':react-native-simple-download-manager').projectDir = new File(rootProject.projectDir, \t'../node_modules/react-native-simple-download-manager/android')\n   ```\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n   ```\n     compile project(':react-native-simple-download-manager')\n   ```\n\n### Usage\n\n```js\nconst downloadManager = require(\"react-native-simple-download-manager\");\n\nconst url = \"http://url/to/file.ext?query=parmas\";\nconst headers = { Authorization: \"Bearer abcsdsjkdjskjdkskjd\" };\nconst config = {\n  downloadTitle: \"Title that should appear in Native Download manager\",\n  downloadDescription:\n    \"Description that should appear in Native Download manager\",\n  saveAsName: \"File name to save\",\n  allowedInRoaming: true,\n  allowedInMetered: true,\n  showInDownloads: true,\n  external: false, //when false basically means use the default Download path (version ^1.3)\n  path: \"Download/\" //if \"external\" is true then use this path (version ^1.3)\n};\n\ndownloadManager\n  .download((url = \"\"), (headers = {}), (config = {}))\n  .then(response =\u003e {\n    console.log(\"Download success!\");\n  })\n  .catch(err =\u003e {\n    console.log(\"Download failed!\");\n  });\n```\n\n### Advanced Usage\n\nThe module currently supports\n\n- download,\n- queueDownload,\n- attachOnCompleteListener,\n- cancel,\n- checkStatus\n\nYou can check https://github.com/master-atul/react-native-simple-download-manager/blob/master/index.js\n\n### Contributors\n\n- [Atul R](https://github.com/master-atul)\n- [Shivam Barsaley](https://github.com/shivambarsaley)\n- [ibrahimtelman](https://github.com/ibrahimtelman)\n- [KingDark](https://github.com/kingdark1234)\n\nPeace ! ✌🏻🌮\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa7ul%2Freact-native-simple-download-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa7ul%2Freact-native-simple-download-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa7ul%2Freact-native-simple-download-manager/lists"}