you can do it with the flatAnnots method, that performs a PDF's form flattering, but now it's not exposed in Cordova methods.
We're working to provide some new methods:
- flatAnnotAtPage: flattering of a single page
- flatAnnots: flattering of all pages
- saveDocumentAtPath: save the document in a new path
We will release the module update at the end of this week.
we updated the cordova module.
Now you can use the new method flatAnnots on the current pdf instance (for example in didShowReader callback), to call the flattering feature, then you can save the pdf as new file with the saveDocumentToPath method and prevent any edit action.