aWebDeveloper aWebDeveloper - 1 year ago 73
Javascript Question

Download a file and show it in downloads app or in notification in a cordova app

How do i make a file appear in the downloads app or in notification. Whenever a user clicks on the download in the app i want the file to get downloaded and show up in the default downloads app.

I could use the file transfer option of Cordova but it doesn't show up in the downloads app.

Answer Source

You need to use cordova InAppBrowser(cordova-plugin-inappbrowser).'', '_system');

This will open the link in a system app. Which in most cases solves the problem.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download