Product: PDFTron React Native
Product Version: 3.0.3-6
Please give a brief summary of your issue: DocumentViewer.findText only returns 1 found match
(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)
Hi we have a PDF that needs to be signed in multiple parts of the document marked with X____ text pattern, in order to do this automatically we are using the _viewer.findText method to search around all the document, the current problem is that this method only returns 1 random match using onTextSearchResult, we need all the matched across all the document in order to add the SignatureField with the given quads returned for each found match.
I would add that this is something we achieved in the WebViewer, so we were expecting it to work with the iOS sdk.
NOTE: _viewer.addAnnotation method is a custom method we created to add annotations to the PDF using the the quads information
Please provide a link to a minimal sample where the issue is reproducible: