Commit Graph

245 Commits

Author SHA1 Message Date
Antonio Grass 4021cdec40 Merge branch 'master' of https://github.com/rpopovici/react-native-camera 2016-02-11 12:47:47 -03:00
Kyle Corbitt 61b950403d add keepAwake prop 2016-02-08 12:22:37 +00:00
Kyle Corbitt 5865a1affc orientation in landscape initializes properly 2016-02-05 12:20:27 +00:00
Loch Wansbrough 1feb274458 Updated npm instructions in README 2016-02-03 19:18:00 -08:00
Loch Wansbrough ab7751ea44 Merge pull request #179 from zackify/patch-1
fixed android path
2016-02-03 11:39:56 -08:00
Loch Wansbrough 93b0d06613 Update README.md 2016-02-03 08:57:25 -08:00
Zach Silveira dcee7836d1 fixed android path 2016-02-02 21:04:05 -05:00
Radu Popovici ff66374fd1 fix react native 0.19.0 upgrade bugs for android 2016-02-02 13:13:57 +02:00
Lochlan Wansbrough 8f37727be6 Bypass authorization for android (this method isn't available?) 2016-01-31 21:05:47 -08:00
Lochlan Wansbrough 5e972a8e0e Hopefully the API stays unified enough for this to work! 2016-01-31 21:03:15 -08:00
Lochlan Wansbrough f5ab0c8432 - Updated Read Me with correct Android install information.
- Fixed promise error during android deployment
2016-01-31 20:56:38 -08:00
Lochlan Wansbrough edf0736f92 - Updated example
- ES6 stuff
2016-01-31 20:47:59 -08:00
Lochlan Wansbrough 580d11bba0 Documentation update 2016-01-31 20:15:00 -08:00
Lochlan Wansbrough 208edfa3db - Removed event handler defaults.
- Unified Camera.js codebase and "symlinked" the iOS and Android files.
- Some other code fixes from the ES6 upgrade
2016-01-31 20:04:52 -08:00
Lochlan Wansbrough 8f9fd98496 Updated docs. 2016-01-31 19:46:33 -08:00
Lochlan Wansbrough 84809401a5 Merge branch 'master' of github.com:lwansbrough/react-native-camera 2016-01-31 19:28:11 -08:00
Lochlan Wansbrough c45e210102 ES6 and general API alignment 2016-01-31 19:27:46 -08:00
Loch Wansbrough 2017095e0f Merge pull request #172 from rt2zz/androidfix
start/stop preview in takePicture callback, default to auto focus
2016-01-31 18:20:32 -08:00
Lochlan Wansbrough dde75d895a Added promise handling to getFOV and hasFlash 2016-01-31 18:18:48 -08:00
Loch Wansbrough 1b5de73fe9 Merge pull request #170 from corbt/promises
Switch from callbacks to promises
2016-01-31 18:16:07 -08:00
Loch Wansbrough 568ec1e0c7 Merge pull request #159 from sharathprabhal/simulator-image-timestamp
Add timestamp to simulator still capture
2016-01-31 18:14:27 -08:00
Lochlan Wansbrough 2b63a41170 Merge branch 'master' of git://github.com/wootwoot1234/react-native-camera into wootwoot1234-master
# Conflicts:
#	ios/RCTCameraManager.m
2016-01-31 18:12:28 -08:00
Loch Wansbrough a525710997 Merge pull request #114 from WellDone2094/master
implemented method getFOV for ios
2016-01-31 18:03:55 -08:00
Loch Wansbrough 3df36a699c Merge pull request #166 from christopherdro/android-temp-dir
[Android] Add option for capturing to temp directory
2016-01-28 10:30:37 -08:00
Zack 15a6311b4e start/stop preview in takePicture callback, default to FOCUS_MODE_CONTINUOUS_PICTURE 2016-01-28 10:19:22 -08:00
Kyle Corbitt 45c26869a4 switch from callbacks to promises 2016-01-28 12:13:01 +00:00
Christopher Dro d0355fe2e6 [Docs] Add capture target temp to readme 2016-01-27 09:55:26 -08:00
Christopher Dro 3080f65b4f [Android] Add temp directory to targets 2016-01-26 22:36:00 -08:00
Loch Wansbrough b26f9a92d4 Merge pull request #161 from farmisen/docu
Adding instructions for getting started on android.
2016-01-25 11:15:05 -08:00
Fabrice Armisen 37dc9af97a Removing the "ios only" mention 2016-01-25 10:33:10 -08:00
Fabrice Armisen c8966280b1 Adding Android instructions to get started 2016-01-24 19:36:29 -08:00
Sharath Prabhal 2d9f768301 Add timestamp to simulator still capture
When working with the simulator, its not always obvious if new pics are taken because they are all blank. This PR adds a random color and timestamp to stills captutered on the simulator.
2016-01-24 06:59:43 -05:00
Loch Wansbrough 743685b48a Merge pull request #157 from farmisen/droid
Android support.
2016-01-23 13:11:58 -08:00
Fabrice 7fe585bdb2 Merge pull request #1 from farmisen/droid
Android support.
2016-01-19 20:34:48 -08:00
Fabrice Armisen 844d6aaf65 Android support.
Working: set aspect, select camera type, set flash/torch mode, take picture and save it to the file system, mediaroll as data.
Not working: Video capture, set orientation.
Known problem: Front camera pictures are not oriented correctly.
2016-01-19 18:31:14 -08:00
Loch Wansbrough 114476de03 Merge pull request #151 from christopherdro/capture-temp
Add option to store captures in temp directory
2016-01-15 12:10:22 -08:00
Loch Wansbrough e68dd966ef Added Gitter
Fixes #148
2016-01-12 15:01:05 -08:00
Christopher Dro b14ed42731 Add option to store captures in temp directory 2016-01-12 12:02:10 -08:00
Loch Wansbrough fdca76e86b Merge pull request #139 from bradbumbalough/expose-camera-authorization
Expose camera authorization
2016-01-04 12:07:01 -08:00
Brad Bumbalough 8e1ae7c9a4 Corrected docs heading 2015-12-22 16:47:03 -05:00
Brad Bumbalough 4e34fff32e Added method to Camera to expose the CameraManager checkDeviceAuthorizationStatus() method. Updated docs. 2015-12-22 16:45:17 -05:00
Loch Wansbrough 55fc97193c Update README.md 2015-12-11 09:00:42 -08:00
Loch Wansbrough abca50a241 Merge pull request #130 from apprennet/pinch-to-zoom-crash-fix
Fix crash when user pinches to zoom on devices that don't support it.
2015-12-08 14:38:07 -08:00
Loch Wansbrough c7b1ba53fa Merge pull request #131 from apprennet/fix-preset-camera-not-obeying-type-property
Fix for back camera showing briefly when the type property is set to 'front'.
2015-12-08 14:34:08 -08:00
Loch Wansbrough f579a62c64 Merge pull request #129 from apprennet/audio-permissions-fix
Added code to check audio permissions.
2015-12-08 14:29:31 -08:00
PJ Cabrera 1b79493221 Fix for back camera showing briefly when the type property is set to 'front'.
The first time an app is run that uses this component with the type set to 'front', the back camera shows briefly before the component obeys the type property and switches to the front camera. The presetCamera should be set to the proper camera type set in the props when the component is created.
2015-12-02 11:39:02 -08:00
PJ Cabrera f7f8c23dd6 When zoomFactor was computed with a value greater than device.activeFormat.videoMaxZoomFactor, it caused a crash. Changed the pinch to zoom code to respect the value of device.activeFormat.videoMaxZoomFactor. 2015-11-30 14:50:36 -08:00
PJ Cabrera ba36a4ea9b Added code to check audio permissions. 2015-11-30 14:42:26 -08:00
Loch Wansbrough d911c99987 Merge pull request #115 from morukutsu/bugfixes-upstream
[bugfix] RCTViewManager view method must always return a new instance
2015-11-21 15:09:19 -08:00
Loch Wansbrough 84f4db97a6 Update README.md 2015-11-05 11:25:27 -08:00