Phonegap/Cordova 3.6 - Download of file through blob:file
问题 We have an app using Phonegap 3.6.3 and built with Phonegap build . As part of this app, we need to download a file onto the device of the user. The file might be a .pdf, an image or any binary file. We hope to download the file with a blob:file link in the app, and not use a plugin such as file-transfer. The file is converted from Base64 data and a Blob object is created. An objectURL is generated through window.URL.createObjectURL() and this is added to the href attribute of an a element.