Update flow to also use "react-native-blob-util" instead of "rn-fetch-blob"
What react-native version are you using?
0.65.0
What react-native-pdf version are you using?
6.4.0
What platform does your issue occur on? (android/ios/both) / (flow)
Describe your issue as precisely as possible :
- Steps to reproduce the issue or to explain in which case you get the issue
index.js.flowis still relying onrn-fetch-blobon v6.4.0, this causes an error when typechecking with flow. - Interesting
logsCannot resolve module rn-fetch-blob.
Join a screenshot or video of the problem on the simulator or device?
| screenshot |
|---|
![]() |
Show us the code you are using?
I have a similar issue.
I use rn-fetch-blob somewhere else in my app and never had react-native-blob-util added. It used to work fine but now im getting this error

If i add eact-native-blob-util i get duplicate symbols and circular dependencies. Is there any fix to this to just use one of the libraries? Or should i use an older version?
@nachoperez714
I use rn-fetch-blob somewhere else in my app and never had react-native-blob-util added.
react-native-blob-util is a maintained for of rn-fetch-blob, should be a drop in replacement. You can only have one though. So if you want to upgrade react-native-pdf, you'll need to remove rn-fetch-blob and replace it with blob-util in your codebase.
Created a PR to fix it #678
use https://github.com/locht/react-native-pdf.git , fixed, add rn-fetch-blob working ios and android, remove react-native-blob-util
Hi @wonday , is https://github.com/wonday/react-native-pdf/pull/678 released? as i can't see changes in lib code.
rn-fetch-blob and react-native blob util can't work together.remove rn-fetch-blob and use react-native blob util instead of this
