Open Reenagrg100 opened 4 years ago
Same problem +1 (especially android 9)
same here - saw the error callback spitting out EACCES: permission denied
so ran:
sudo chmod -R 777 node_modules/react-native-pdf/
seems to work now.
also, if you are setting state to show / hide the PDF based on a file read or download status, make sure you set the file path before updating the state - otherwise rn-pdf will complain of no valid file path.
What
react-native
version are you using? 0.62.2 Whatreact-native-pdf
version are you using? 6.1.2 What platform does your issue occur on? (android/ios/both) android Describe your issue as precisely as possible : 1) implement react-native-pdf library in your project 2) Open a pdf of let say min 30mb 3) It only shows a line on the name of progress bar, it should see progress of loading of pdf (likein %)
Join a screenshot or video of the problem on the simulator or device?