소스 검색

Minor README tweak and bump version to 0.1.0

Jamon Holmgren 6 년 전
부모
커밋
04ed1c7ad2
2개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 4
    3
      README.md
  2. 1
    1
      package.json

+ 4
- 3
README.md 파일 보기

@@ -4,7 +4,7 @@
4 4
 
5 5
 ## Platforms Supported
6 6
 
7
-* [x] iOS
7
+* [x] iOS (both UIWebView and WKWebView)
8 8
 * [x] Android
9 9
 * [ ] Windows 10 (coming soon)
10 10
 
@@ -29,7 +29,8 @@ class MyWebComponent extends Component {
29 29
   render () {
30 30
     return (
31 31
       <WebView
32
-        src={{uri: "https://infinite.red"}}
32
+        useWebKit // to use WKWebView -- will be default at some point
33
+        src={{uri: "https://infinite.red/react-native"}}
33 34
         style={{marginTop: 20}}
34 35
       />
35 36
     )
@@ -47,7 +48,7 @@ Simply install React Native WebView and then use it in place of the core WebView
47 48
 
48 49
 ### Contributor Notes
49 50
 
50
-* I've removed all PropTypes for now. Instead, we'll be moving toward Flow or TypeScript at some later date
51
+* I've removed all PropTypes for now. Instead, we'll be moving toward Flow or TypeScript at a later date
51 52
 
52 53
 ## Maintainers
53 54
 

+ 1
- 1
package.json 파일 보기

@@ -3,7 +3,7 @@
3 3
   "description": "React Native WebView component for iOS, Android, and Windows 10",
4 4
   "main": "index.js",
5 5
   "author": "Jamon Holmgren <jamon@infinite.red>",
6
-  "version": "0.0.1",
6
+  "version": "0.1.0",
7 7
   "peerDependencies": {
8 8
     "react": "^16.0",
9 9
     "react-native": "^0.56"