diff --git a/ios/RCTPSPDFKit/Converters/RCTConvert+PSPDFAnnotation.m b/ios/RCTPSPDFKit/Converters/RCTConvert+PSPDFAnnotation.m index 6e1222b2..4dfe11df 100644 --- a/ios/RCTPSPDFKit/Converters/RCTConvert+PSPDFAnnotation.m +++ b/ios/RCTPSPDFKit/Converters/RCTConvert+PSPDFAnnotation.m @@ -23,8 +23,8 @@ @implementation RCTConvert (PSPDFAnnotation) [annotationsJSON addObject:annotationDictionary]; } } else { - // We only generate Instant JSON data for attached annotations. When an annotation is deleted, we only set the annotation uuid. - [annotationsJSON addObject:uuidDict]; + // We only generate Instant JSON data for attached annotations. When an annotation is deleted, we only set the annotation uuid and name. + [annotationsJSON addObject:@{@"uuid" : annotation.uuid, @"name" : annotation.name ?: [NSNull null]}]; } }