Unable to read online insecure PDF file
phillipcmittmann opened this issue · comments
What react-native
version are you using?
0.73.1
What react-native-pdf
version are you using?
6.7.4
What platform does your issue occur on? (android/ios/both)
Both
Show us the code you are using?
source={{ uri:http://online.osul.com.br/edicoesanteriores/20240117/jornal-o-sul.pdf
}}
enablePaging={true}
horizontal={true}
style={{ backgroundColor: 'white', flex: 2 }}
fitPolicy={0}
trustAllCerts={true}
/>
For me adding trustAllCerts={false}
fixed that error
For me adding
trustAllCerts={false}
fixed that error
Adding trustAllCerts={false}
didnt solved the issue.
We added certificates for those endpoints, resolving the problem on my end.
Closing without a solution.