react-native-pdf
react-native-pdf copied to clipboard
Text Highlighting feature
Pdf annotation is not working, I want to highlight the selected text please let me know if it if possible. below is my code for calling react-native-pdf.
<Pdf
ref={(pdf) => { setPdf(pdf) }}
enableAnnotationRendering={true}
source={source}
onLoadComplete={(numberOfPages, filePath) => {
console.log(number of pages: ${numberOfPages}
);
}}
onPageChanged={(page, numberOfPages) => {
console.log(current page: ${page}
);
}}
onError={(error) => {
console.log(error);
}}
onPressLink={(uri) => {
console.log(Link presse: ${uri}
)
}}
style={styles.pdf} />
What react-native
version are you using?
0.62.2
What react-native-pdf
version are you using?
6.2.2
What platform does your issue occur on? (android/ios/both)
both
@Raheel1258 have you implemented the same feature if yes can you provide me the solution?
Is there any update on this feature? Is it possible?
+1 Any updates regarding search and highlight text in PDF? @Raheel1258 Have you found any RN solution for that?