|
@@ -44,12 +44,6 @@ $ yarn add ../react-native-webview && react-native link react-native-webview
|
44
|
44
|
|
45
|
45
|
## Notes
|
46
|
46
|
|
47
|
|
-- We use Flow types. TypeScript types will probably be added at a later date.
|
|
47
|
+- We use TypeScript.
|
48
|
48
|
- We don't intend to support UIWebView and will remove it soon.
|
49
|
|
-- After pulling this repo and installing all dependencies, you can run flow on iOS and Android-specific files using the commands:
|
50
|
|
- - `yarn test:ios:flow` for iOS
|
51
|
|
- - `yarn test:android:flow` for Android
|
52
|
|
-- You can run Jest tests using the command: `yarn test:js`
|
53
|
|
-- If you want to add another React Native platform to this repository, you will need to create another `.flowconfig` for it. If your platform is `example`, copy the main flowconfig and rename it to `.flowconfig.example`. Then edit the config to ignore other platforms, and add `.*/*[.]example.js` to the ignore lists of the other platforms. Then add an entry to `package.json` like this:
|
54
|
|
- - `"test:example:flow": "flow check --flowconfig-name .flowconfig.example"`
|
55
|
|
-- Currently you need to install React Native 0.57 to be able to test these types - `flow check` will not pass against 0.56.
|
|
49
|
+- After pulling this repo and installing all dependencies, you can run tests using the command: `yarn ci`
|