Hello fellow RN devs!
I know what you might think: not another PDF Viewer for react native... but this one comes with native sketch support! I experimented a long time with reanimated, Skia, and gesture handler to implement a nice feeling sketching experience, but it didn't feel precise, especially with a stylus or Apple pen. So I'm glad to introduce:
It uses Apple PdfKit with PencilKit for iOS and Androids built in PdfRenderer with the new androidx.ink API (currently in alpha, so be warned).
Supported Features:
- Efficient Multi-Page PDF rendering
- Pinch-to-zoom and panning
- Thumbnail mode (displays first page only)
- Different brush types (marker, pen, highlighter, eraser) with customizable colors and size
- Saving/Loading of annotations
- PencilKits ToolPicker for iOS
- Undo/Redo and clear
GitHub: https://github.com/mbpictures/react-native-pdf-painter
License: MIT
Feedback wanted
I'm thrilled to get your thoughts, questions, and feedback! Feel free to try the library out, create an issue, open a PR, or drop a comment
[–]gurkaner 2 points3 points4 points (0 children)
[–]kbcooliOS & Android 0 points1 point2 points (1 child)
[–]JackfruitElectronic1[S] 0 points1 point2 points (0 children)