181 Commits

Author SHA1 Message Date
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
wootwoot1234
f7e8a5ddda Added hasFlash() 2015-11-03 15:31:10 -08:00
wootwoot1234
000dc52fd7 Added hasFlash() 2015-11-03 15:29:56 -08:00
Loch Wansbrough
2ecfa28e22 Merge pull request #109 from yinuoba/master
use the AVMetadataObjectTypeDataMatrixCode only if the system support it...
2015-11-03 13:43:52 -08:00
Loch Wansbrough
c3a3acaa97 Merge pull request #113 from zckly/patch-1
Added a step in the 'Getting Started' section
2015-11-03 13:34:01 -08:00
Morukutsu
6e5e833da2 [bugfix] RCTViewManager view method must always return a new instance 2015-11-03 00:51:12 +01:00
WellDone2044
2462fb8ada implemented method getFOV for ios 2015-11-02 15:08:17 +01:00
Zachary Lee
70cd5cdc16 Added a step in the 'Getting Started' section
Added the location in which Header Search Paths can be found to make it easier for people that are unfamiliar with XCode to find Header Search Paths.
2015-11-01 16:46:17 -08:00
Hoogle
c8c9d257e3 use the AVMetadataObjectTypeDataMatrixCode only if the system support this API, and then we can use the react-native-camera in iOS7 2015-10-22 13:10:54 +08:00
Lochlan Wansbrough
edbbcd75a3 Version bump 2015-10-14 18:38:44 -07:00
Loch Wansbrough
4b7e1f83a6 Merge pull request #102 from gpbl/patch-1
Set self.camera to nil when stopping session
2015-10-13 09:03:38 -07:00
Giampaolo Bellavite
68fd358352 Set self.camera to nil when stopping session
This should fix the freeze problem with navigator (see [comment](https://github.com/lwansbrough/react-native-camera/issues/80#issuecomment-147336381) in #80), but I'm not sure if there are some side effects coming from this change. Yet in my app it seems to work.
2015-10-13 09:57:43 +02:00
Lochlan Wansbrough
8cc61edef2 Fixes #80 v0.3.7 2015-10-10 15:23:27 -07:00
Loch Wansbrough
a6f068be1f Merge pull request #93 from toddw/master
Add support for DataMatrix to iOS
2015-10-04 12:26:59 -07:00
Loch Wansbrough
c94e71f74b Merge pull request #97 from rt2zz/master
require PropTypes in index.android.js
2015-10-03 17:23:16 -07:00