Quick post about download of files on Cordova, 3 main options: cordova-open plugin, fileOpener2 plugin or InappBrowser plugin


If you handle remote files, use IAB to open file on a new webview. Use target param to choose within app or new webview.


cordova-open for Android

cordova-open for Android use MimeTypeMap.getFileExtensionFromUrl(path) Then if the uri not contains the extension of file it couldn’t find the appropriate App to open.

cordova-open for iOS

cordova-open for iOS call QuickLook, no matter if file contains or not a file extension.


fileOpener2 ask developer to provide the mime-type


Victor Dias

Sharing mobile Experiences

Follow me