How to save a file with PWA

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




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

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


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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.