Browse Source

update:更新react-native-webview的依赖为biling.com的

adam 3 years ago
parent
commit
a397309220
2 changed files with 3 additions and 2 deletions
  1. 1
    1
      autoHeightWebView/index.js
  2. 2
    1
      package.json

+ 1
- 1
autoHeightWebView/index.js View File

@@ -4,7 +4,7 @@ import { Platform, ViewPropTypes, View } from 'react-native';
4 4
 
5 5
 import PropTypes from 'prop-types';
6 6
 
7
-import { WebView } from 'react-native-webview';
7
+import { WebView } from '@bilingo.com/react-native-webview';
8 8
 
9 9
 import { reduceData, getWidth, isSizeChanged, shouldUpdate } from './utils';
10 10
 

+ 2
- 1
package.json View File

@@ -31,7 +31,8 @@
31 31
   "peerDependencies": {
32 32
     "react": "*",
33 33
     "react-native": ">= 0.59.0",
34
-    "react-native-webview": ">= 5.4.0"
34
+    "react-native-webview": ">= 5.4.0",
35
+    "@bilingo.com/react-native-webview": "^1.0.0"
35 36
   },
36 37
   "dependencies": {
37 38
     "prop-types": "^15.7.2"