react-native-camera/Example
Gonzalo Aguirre b01c64e773 Mirror image for Android (#399)
* Add mirrorImage support for Android

* Release resources after mirroring

* Mirror image only for TYPE_FRONT

* Remove unnecessary annotation

* Document mirrorImage for Android

* Improved compression and error handling

* Add support for mirroring on Android back camera too
2016-09-13 09:48:48 -07:00
..
android Mirror image for Android (#399) 2016-09-13 09:48:48 -07:00
assets Android support for recording video (#262) 2016-08-27 21:49:46 -04:00
ios fix example jsCodeLocation (#360) 2016-08-27 21:56:44 -04:00
.buckconfig Add example 2016-05-30 11:19:43 -04:00
.flowconfig Add example 2016-05-30 11:19:43 -04:00
.gitignore Add example 2016-05-30 11:19:43 -04:00
.watchmanconfig Add example 2016-05-30 11:19:43 -04:00
Example.js Mirror image for Android (#399) 2016-09-13 09:48:48 -07:00
README.md Android support for recording video (#262) 2016-08-27 21:49:46 -04: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 fix Example js bundle failure 2016-07-04 21:26:32 +08:00

README.md

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