For HTML/EPUB mobile side receives onSelectAnnotations event when annotation is being tapped on with finger or mouse click in the document.
For some reason this event is not sent for PDF. Also the annotation is not getting visibly selected with dotted lines.
The only thing that works is if user were to tap on the annotation in the sidebar's list (sidebar list is implemented on Android side), which triggers Android side to call a JS function to select an annotation with a given ID, which does lead to that annotation being selected with dotted lines.
For HTML/EPUB mobile side receives onSelectAnnotations event when annotation is being tapped on with finger or mouse click in the document.
For some reason this event is not sent for PDF. Also the annotation is not getting visibly selected with dotted lines.
The only thing that works is if user were to tap on the annotation in the sidebar's list (sidebar list is implemented on Android side), which triggers Android side to call a JS function to select an annotation with a given ID, which does lead to that annotation being selected with dotted lines.