https://github.com/kosso/ti.downloadmanager
A Titanium iOS & Android module for background file downloads.
https://github.com/kosso/ti.downloadmanager
Last synced: 3 months ago
JSON representation
A Titanium iOS & Android module for background file downloads.
- Host: GitHub
- URL: https://github.com/kosso/ti.downloadmanager
- Owner: kosso
- License: other
- Created: 2018-01-20T00:35:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-05-03T09:17:39.000Z (about 3 years ago)
- Last Synced: 2025-02-28T18:23:11.824Z (3 months ago)
- Language: Objective-C
- Homepage:
- Size: 3.31 MB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.txt
- License: LICENSE
Awesome Lists containing this project
README
tidownloadmanager
===========================================iOS & Android module using the built-in Download Manager for file downloads.
Minimum Titanium SDK is 7.0.0.GA (To still support Android 5)
Now with full parity on iOS version.
-------------
**com.kosso.tidownloadmanager**
Uses the built-in Download Manager to download files on Android.
Android destination path must be to External Storage.
Events: 'success', 'error' and 'progress'.
- Contains a 'uid' to determine which is which when downloading multiple files at once.
- Credit for original Android inspiration to: @m1ga and https://github.com/m1ga/com.miga.downloadmanager
For future development:
- Offer network type restrictions (Wifi / Mobile )
- Pause/resume
- More things I forgot of haven't thought of…See example/app.js
----
@Kosso. Jan 19 2018