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