Open hemanthAppmaker opened 1 year ago
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch react-native-pdf@6.6.2 for the project I'm working on.
react-native-pdf@6.6.2
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.
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch
react-native-pdf@6.6.2
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.