As we get the occasional request for a way to write PDF files, I thought I'd have a go at starting an implementation of jsPDF
https://github.com/MrRio/jsPDF/blob/master/README.md
I haven't gone very far. Just a simple native app that uses a WebView to create a PDF file with a couple of words of text in it.
It's not something I have a need for at the moment but I thought if anyone is considering building their own implementation, this might be a useful place to start.
The only problem it addresses is that Android does not work with doc.save() so I've used app.WriteFile() to save the file instead.
If you want to try it, there is a jsPDF manual you can find fairly easily. I really don't know how easy it will be.
Thank you
Hi Cemal, thank you very much, this has been so helpful!
The previously suggested approach with app.WriteFile() works for text added to a PDF but not for images.
I believe your approach works for PNG but not for JPEG, but it is absolutely fine for what I need, thanks again.
Giovanni