13
Views
2
Comments
How to save a file with PWA
Question

I want to save images and text files on my smartphone device.


I tried the following Forge, but all of them output the error "Can't find variable: cordova".

· File Plugin

· File Transfer Plugin


I'm aware that the reason is that you can't use the Cordova plugin with PWA.

Is there a way to save the file with PWA?


Kind regards

Masashi

Champion
Rank: #269

Hi,


Also looking for this, currently I'm using expose REST GET to get the file, then call javascript window.open(URL of REST GET)

This is very crude, if anyone have better solution please do, I also needed it :D



DownloadPWA.oml

Rank: #51706

Thanks a lot Toto!


I used the received oml file, but on the iPhone, it moved to a garbled page and unfortunately I could not download it.


I would be grateful if you could share any good ideas.