A use case: If the user wants to download multiple files, he/she can add in the que and once each file is downloaded, a success broadcast is made which is listened to in the webview and the business logic can then take some decisions. Right now, the android download manager loses context of the webview as it becomes independent completely.
Allow a broadcast to be sent with data which can be listened to in webview. I am referencing to this plugin: https://github.com/bsorrentino/cordova-broadcaster#readme
A use case: If the user wants to download multiple files, he/she can add in the que and once each file is downloaded, a success broadcast is made which is listened to in the webview and the business logic can then take some decisions. Right now, the android download manager loses context of the webview as it becomes independent completely.