Closed ploveland closed 2 years ago
@ploveland Why is this closed and what was the solution ? I`m struggling also with PDFs not displayed on Android.
@normenster @ploveland This ticket was closed because this lib does not have any problems with android or pdf. U just have to move your pdf to bundle.
What
react-native
version are you using? 68.2What
react-native-pdf
version are you using? 6.6.2 (react-native-blob-util is version: 16.2)What platform does your issue occur on? (android/ios/both) android (emulator v.11)
Describe your issue as precisely as possible : 1) Steps to reproduce the issue or to explain in which case you get the issue
We recently upgraded our React-Native from 63.4 to 68.2, as well as our packages to include react-native-pdf. I'm not getting any errors when opening the PDF, but it doesn't display any longer. I get a blank screen with a message that it's been downloaded. When attempting to open the downloaded file, it also says 'can't open file'.
I've tried multiple PDF files, as well as on an IOS emulator. The IOS emulator works properly still.
Join a screenshot or video of the problem on the simulator or device?
Show us the code you are using?