Open Bernardoow opened 7 years ago
@Bernardoow wouldn't that just be cordova.file.externalRootDirectory + "Download/"
? To open the PDF something like cordova-plugin-file-opener2
@dsgriffin, Not. For my case I haven't sdcard for acess externalRootDirectory.
It's took me one day for find solution.
The flux is download file like your suggestion and after will open with cordova-plugin-file-opener2. The cordova-plugin-file-opener2 have option for save in downloads folder.
If you let I will create one page with this code. I want because your is the best example for how work with transfer plugin.
error code 1 download error source :https://www.pdf-tools.com/public/downloads/whitepapers/whitepaper-pdfa.pdf achievement.ts:183 download error :[object Object] achievement.ts:184 download error target :whitepaper-pdfa.pdf achievement.ts:185 download error code :1...help me solving this one i am using ionic 3.19
@Bernardoow Hello Bernardoow, im interested in your solution. Im facing the same problem now. But instead of a pdf file i want to open a csv file. do you know if this is possible?
Can I do trick to open pdf and save file in downloads folder? (Other page in your example)