Browse Source

Revert README

Chi Wing Kei 6 years ago
parent
commit
e8e6d6c659
1 changed files with 1 additions and 16 deletions
  1. 1
    16
      README.md

+ 1
- 16
README.md View File

@@ -12,22 +12,7 @@ Cause of moving View.propTypes to ViewPropTypes in React Naitve 0.44 (https://gi
12 12
 `npm install react-native-autoheight-webview@0.2.3 --save` (rn < 0.44)
13 13
 
14 14
 ## android
15
-1. `react-native link react-native-autoheight-webview`
16
-2. in MainApplication.java
17
-```javascript
18
-import com.dscj.autoheightwebview.AutoHeightWebViewPackage; // Add this
19
-
20
-public class MainApplication extends Application implements ReactApplication {
21
-  //...
22
-  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
23
-    //...
24
-    @Override
25
-    protected List<ReactPackage> getPackages() {
26
-      return Arrays.<ReactPackage>asList(
27
-        //...
28
-        new AutoHeightWebViewPackage() // Add this
29
-        //...
30
-```
15
+`react-native link react-native-autoheight-webview`
31 16
 
32 17
 ## showcase
33 18
 ![react-native-autoheight-webview ios](https://media.giphy.com/media/l4FGyhnvWfUgxCfe0/200w.gif)&nbsp;