react-native-pdf
react-native-pdf copied to clipboard
Search and text highlights
I am making an application for reading books and your library suits me. But I need the functionality:
- Search by text
- the ability to select text and change the background of the selected text (highlights)
- In the build apk the object with chapters and their titles is empty
react-native 0.63.3 react-native-pdf 6.2.2
What platform does your issue occur on? (android/ios/both) both
+1
the same problem, the functionality of this library would be useful!
onLoadComplete returns empty tableContents in apk build
+1
I have the same problem +1
+1
+1
+1
+1
+1
+1
+1
The same problem while using the library +1
+1
Anyone found such library which has search and bookmark feature? (For FREE)
As far as I know you can actually select text (to copy) on iOS 11.0+ targets, which use PDFKit by default.
On the Android side text search and highlight aren't gonna be something that will be possible in the near future. This library uses AndroidPdfViewer on the native side, which doesn't support either and has been unmaintained for almost 3 years.
If you need these features you'll have to go with a commercial solution like Foxit, which even has a first party React Native library. MuPDF may also support them and is free for non-commercial projects, but it seems like you would have to build the RN library yourself.
I have the same problem +1
+1
+1
+1 Any updates regarding search and highlight text in PDF? @Ellerage Have you found any RN solution for that?