I wanna open a pdf when a button click. Also, I don't use react-native-pdf because I got an error in linking it with react-native. So, now I try to show pdf using rn-pdf-reader-js. It works well in loading pdf from the web, but can't load the local file. How can I fix it? Here is my code.
<PDFReader
source={{ uri: "file:///D:/test/Angular.pdf" }}
/>
error: "Invalid response for blob";