react-native-pdf
react-native-pdf copied to clipboard
conflicting wit rn-fetch-blob in iOS
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch [email protected] for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-pdf/index.js b/node_modules/react-native-pdf/index.js
index 95520c1..7dab817 100644
--- a/node_modules/react-native-pdf/index.js
+++ b/node_modules/react-native-pdf/index.js
@@ -18,7 +18,7 @@ import {
Text
} from 'react-native';
-import ReactNativeBlobUtil from 'react-native-blob-util'
+import ReactNativeBlobUtil from 'rn-fetch-blob'
import {ViewPropTypes} from 'deprecated-react-native-prop-types';
const SHA1 = require('crypto-js/sha1');
import PdfView from './PdfView';
This issue body was partially generated by patch-package.