React Native: How to save a document without annotations?

Product: React Native ,Android, IOS

Product Version: Latest

Please give a brief summary of your issue:
(Think of this as an email subject)

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

Please provide a link to a minimal sample where the issue is reproducible:

Hi @wijitl

To save the document without annotations, you would need to do the following:

  1. Loop through each page and obtain the annotations on the page
    pdftron-react-native/API.md at master · PDFTron/pdftron-react-native · GitHub
  2. Delete the annotations obtained
    pdftron-react-native/API.md at master · PDFTron/pdftron-react-native · GitHub

I’ve provided API documentation that is useful to achieve the steps I’ve outlined.