* Set more precise React/React-Native package version dependencies
- In general, try to avoid breaking changes caused by >=
- In particular, such a breaking change can be seen by testing the current Example
app on Android with the existing package.json's and RN 0.43+, which causes errors
in MainApplication public/protected method settings.
* Revert changes to main package.json
- Would erroneously break compatibility for main package
- Leave precise dependencies only for Example app, since this does not impact
compatibility in the same way
|
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| ios | ||
| .buckconfig | ||
| .flowconfig | ||
| .watchmanconfig | ||
| Example.js | ||
| index.android.js | ||
| index.ios.js | ||
| package.json | ||
| README.md | ||
Run example
From project root run through cli:
cd Example/npm install
For Android:
adb reverse tcp:8081 tcp:8081or in Dev Settings input COMPUTER_IP:8081 for debug serverreact-native run-android
For iOS build:
- Open Example.xcodeproj with XCode
- Change IP for jsCodeLocation in AppDelegate.m file
- Run from XCode