Skip to content
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

I use react-native-pdf how do I point to this repo? #30

Closed
billnbell opened this issue Apr 29, 2021 · 2 comments
Closed

I use react-native-pdf how do I point to this repo? #30

billnbell opened this issue Apr 29, 2021 · 2 comments

Comments

@billnbell
Copy link

\How do I install react-native-pdf and point it to here instead of rn-fetch-blob?

@RonRadtke
Copy link
Owner

RonRadtke commented Apr 29, 2021

First of all you need to install react-native-blob-util. Then the easiest probably would be to change this line to require react-native-blob-util instead:
https://github.com/wonday/react-native-pdf/blob/93d2890bb25fbea96173d14ea6828bf54388d7f1/index.js#L26
The public interface of the lib didn't change so it should work without issues.
But in general I would recommend opening an issue or a pull-request to get the dependency exchanged in general. (Also for the windows support)

@RonRadtke
Copy link
Owner

You'll find a pull request for it here:
wonday/react-native-pdf#578

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants