add package patch to native dependency
This commit is contained in:
parent
77d319adb2
commit
3b571ede07
13
mobile/patches/react-native-pdf+7.0.3.patch
Normal file
13
mobile/patches/react-native-pdf+7.0.3.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/node_modules/react-native-pdf/index.js b/node_modules/react-native-pdf/index.js
|
||||
index 56df005..8b8f5d2 100644
|
||||
--- a/node_modules/react-native-pdf/index.js
|
||||
+++ b/node_modules/react-native-pdf/index.js
|
||||
@@ -20,7 +20,7 @@ import {
|
||||
import PdfViewNativeComponent, {
|
||||
Commands as PdfViewCommands,
|
||||
} from './fabric/RNPDFPdfNativeComponent';
|
||||
-import ReactNativeBlobUtil from 'react-native-blob-util'
|
||||
+import ReactNativeBlobUtil from 'react-native-blob-util';
|
||||
import {ViewPropTypes} from 'deprecated-react-native-prop-types';
|
||||
const SHA1 = require('crypto-js/sha1');
|
||||
import PdfView from './PdfView';
|
||||
Loading…
x
Reference in New Issue
Block a user