New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Crashes on Page Load on IOS and Android #40
Comments
Did you link the library? |
@chakafasano88 do you still have this issue and need help? or it can be closed? |
You can close the issue, I found an alternative solution. Thank you.
…Sent from my iPhone
On May 25, 2018, at 2:11 PM, Maksym Rusynyk ***@***.***> wrote:
@chakafasano88 do you still have this issue and need help? or it can be closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@chakafasano88 what was your solution? Please post! |
@mlaco I ended up using Create two variables: the first stores your url.
If not IOS, append your url to the google URL above. Finally, insert the uri into the
That should do the trick !! Let me know how it goes. |
I have same behaviour for IOS. Library is installed and linked (tried by automatic and manual). @chakafasano88 Is it possible pass headers to Google Driver Viewer? |
@indapublic Can you, please, provide more detailed information, like can you reproduce it with demo project, what headers do you use, type of the PDF, resource (PDF document), logs, etc.? Without knowing the reason and assistance in finding the issue we will not be able to fix the component, if it's the issue of the component. |
@rumax Exception will raise in any case (file/url with/without headers). |
Demo is working at the moment. |
@indapublic can you please confirm the library is linked properly by checking in Xcode under your build's target -> General tab you see the library under the: Linked Frameworks and Libraries section. In addition, if this does not suffice, you can look under your Build phases tab -> Target Dependencies, and add ReactNativeViewPDF here as well: |
Hm. And yes. I added to target dependencies and not I didn't receive any error in app. |
@indapublic nice! Good luck with the rest of the work and please let us know in case of issues |
Getting an error
Invariant Violation: Native component for "PDFView" dos not exist
. I installed the package using yarn and my import isimport PDFView from 'react-native-view-pdf
.I've also cleaned cache and rm -rf node_modules several times.
The text was updated successfully, but these errors were encountered: