What react-native version are you using?
0.70.5
What react-native-pdf version are you using?
^6.6.2
What platform does your issue occur on? (android/ios/both)
android/ios
Describe your issue as precisely as possible :
1) Steps to reproduce the issue or to explain in which case you get the issue
2) Interesting logs
also sometimes error occurs but pdf shown
Join a screenshot or video of the problem on the simulator or device?
What
react-native
version are you using? 0.70.5 Whatreact-native-pdf
version are you using? ^6.6.2 What platform does your issue occur on? (android/ios/both) android/ios Describe your issue as precisely as possible : 1) Steps to reproduce the issue or to explain in which case you get the issue 2) Interestinglogs
also sometimes error occurs but pdf shown
Join a screenshot or video of the problem on the simulator or device?
Show us the code you are using?
` <Pdf style={styles.pdfViewer} source={{uri}} onLoadProgress={progress => console.log('Progress', progress)} onLoadComplete={() => setIsLoaded(true)} trustAllCerts={false} onError={handleError} />
const handleError = (e: any) => { console.log('error opening pdf ', e); if (showNotes) { Alert.alert('Cannot open pdf'); showPdfHandler(false); } }; `