|
@@ -20,11 +20,15 @@ Cause of moving View.propTypes to ViewPropTypes in React Naitve 0.44 (https://gi
|
20
|
20
|
`npm install react-native-autoheight-webview@0.2.3 --save` (rn < 0.44)
|
21
|
21
|
|
22
|
22
|
## Android
|
23
|
|
-`react-native link react-native-autoheight-webview` (version 0.10.6 and below)
|
|
23
|
+`react-native link react-native-autoheight-webview` (version <= 0.10.6)
|
|
24
|
+
|
|
25
|
+`react-native link react-native-webview` (version >= 1.0.0)
|
24
|
26
|
|
25
|
27
|
`import AutoHeightWebView from 'react-native-autoheight-webview';`
|
26
|
28
|
|
27
|
29
|
## iOS
|
|
30
|
+`react-native link react-native-webview` (version >= 1.0.0)
|
|
31
|
+
|
28
|
32
|
`import AutoHeightWebView from 'react-native-autoheight-webview';`
|
29
|
33
|
|
30
|
34
|
## showcase
|
|
@@ -106,4 +110,4 @@ Cause of moving View.propTypes to ViewPropTypes in React Naitve 0.44 (https://gi
|
106
|
110
|
```
|
107
|
111
|
|
108
|
112
|
## demo
|
109
|
|
-You may have to copy autoHeightWebView, node_modules folders and index.js to 'demo/node_modules/react-native-autoheight-webview/', cause of installing a local package with npm will create symlink, but there is no supporting of React Native to symlink (https://github.com/facebook/watchman/issues/105).
|
|
113
|
+You may have to use yarn to install the dependencies of the demo and remove demo folder from demo/node_modules/react-native-autoheight-webview, cause of installing a local package with npm will create symlink, but there is no supporting of React Native to symlink (https://github.com/facebook/watchman/issues/105).
|