A plugin to download files.
cordova plugin add https://github.com/Sunbird-Ed/sb-cordova-plugin-downloadmanager.git#<branch_name>
To install it locally
Clone the repo then execute the following command
cordova plugin add <location_of_plugin>/sb-cordova-plugin-downloadmanager
Enqueues the request to be downloaded.
requestrepresents reuest to download a file.
Queries the file in the queue
filterrepresents filter to be applied to find the file.
Removes the ids from queue,
idsrepresents path of the directory.
Logs the speed of the network.