react-native-camera/Example
Abe Botros 860aeb761a (demo): Set more precise React/React-Native package version dependencies for Example (#679)
* 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
2017-04-24 09:55:54 -07:00
..
android (android): Android tap-to-focus and improved (continuous) auto-focus (#575) 2017-04-24 09:25:49 -07:00
assets Android support for recording video (#262) 2016-08-27 21:49:46 -04:00
ios Update Example to RN 0.34 and Xcode 8 2016-09-23 16:08:56 -04:00
.buckconfig Add example 2016-05-30 11:19:43 -04:00
.flowconfig Update Example to RN 0.34 and Xcode 8 2016-09-23 16:08:56 -04:00
.watchmanconfig Add example 2016-05-30 11:19:43 -04:00
Example.js iOS: minor focus and zoom changes (#578) 2017-04-23 14:01:04 -07:00
index.android.js Add example 2016-05-30 11:19:43 -04:00
index.ios.js Add example 2016-05-30 11:19:43 -04:00
package.json (demo): Set more precise React/React-Native package version dependencies for Example (#679) 2017-04-24 09:55:54 -07:00
README.md Android support for recording video (#262) 2016-08-27 21:49:46 -04:00

Run example

From project root run through cli:

  • cd Example/
  • npm install

For Android:

  • adb reverse tcp:8081 tcp:8081 or in Dev Settings input COMPUTER_IP:8081 for debug server
  • react-native run-android

For iOS build:

  • Open Example.xcodeproj with XCode
  • Change IP for jsCodeLocation in AppDelegate.m file
  • Run from XCode