setCustomData for annotations in React Native

I want to set and export a custom attribute for annotations. I couldn’t find an api similiar to setCustomData
as present for Web in React native.

Is there an api for the same or can it be added? Our delivery is depending on this.

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:



Thanks for reaching out to us!

You can set custom data for annotations using this example:

// Set properties for annotation in the current document.
this._viewer.setPropertiesForAnnotation('Pdftron', 1, {
  customData: {
    key1: 'value1',
    key2: 'value2',
    key3: 'value3'

Best Regards,