Adding Instant comments to PDFs in React Native

Licensing

Comments require a separate component in your Nutrient license. Without this included in your license, you won’t be able to add the functionality of viewing, searching, or adding comments in your application. Contact our Sales team to add comments to your license.

If you’re a new customer, you can try comments without a license key. If you’re an existing customer, ask our Sales team for a trial license if you’re interested.

Terminology

Before starting, here are a few key terms related to comments:

  • Root annotation — The annotation to which all the comments in a single thread are linked.

  • Comment thread — A group of comments associated with the same root annotation.

  • Comment — A single comment added by a user.

Root annotation types

All comments are linked to their respective root annotations. The comments with the same root annotation are part of a single comment thread. There can be two types of root annotations:

Getting started

Adding a comment

You can add comments in two ways, depending on the type of root annotation.

At the moment, we don’t support the addition of comments or comment marker annotations using programmatic APIs. This is something that might change in the future.

Deleting a comment

Document Engine currently doesn’t expose any APIs for deleting a comment.

Information

Comment editing isn’t supported in the current version.