28 Commits

Author SHA1 Message Date
Locly
a7464cb194 Update AndroidManifest.xml (#275)
Made camera and autofocus properties optional so that devices without a camera/autofocus can continue to run
2016-05-10 11:06:07 -07:00
Radu-Marius Popovici
0c3dba1ff6 fix snapshot orientation when device orientation is locked (#232)
* use device orientation on android only with auto orientation

* guard against missing playSoundOnCapture and quality props in options

* add video orientation support

* use device orientation on ios only with auto orientation
2016-05-10 11:05:03 -07:00
Zack Story
c3ca7cbb03 Merge pull request #270 from lwansbrough/v1
v1 Updates
2016-04-27 20:34:46 -07:00
Zack Story
2dc43922dc
merge device orientation branch 2016-04-23 13:02:29 -07:00
Jason Brown
2a78d0e1d0 Add alias for photo (#268)
* Add alias for photo

* Map photo to high on android
2016-04-23 12:59:06 -07:00
Zack Story
b0b2a0889d
[capture] fix android HashMap -> WritableMap 2016-04-23 12:45:45 -07:00
Zack Story
9162879305
[barcode] default barCodeTypes to [] if no barcode listener 2016-04-23 12:45:44 -07:00
Kyle Corbitt
0c789b8da0
capture returns metadata 2016-04-23 12:44:39 -07:00
cdimascio
a6785cfa46
play shutter click sound on capture (android)
* play shutter click sound on capture (android)

* Add Property playSoundOnCapture to enable whether the default shutter sound is played on capture (Android)
2016-04-10 18:13:01 -07:00
Radu Popovici
98bd7a853a Merge branch 'master' of https://github.com/lwansbrough/react-native-camera 2016-04-03 10:06:28 +03:00
Carmine DiMascio
b7803d6056 Return on reject 2016-03-31 16:34:59 -04:00
Carmine DiMascio
e20902933d Add hasFlash support for Android 2016-03-26 20:27:40 -04:00
Radu Popovici
4ab7a9d220 fix android snapshot orientation when device orientation is locked 2016-03-23 14:16:39 +02:00
Radu Popovici
d9432ec98d add capture quality constants 2016-03-20 22:39:30 +02:00
Radu Popovici
5659cc7809 add captureQuality option 2016-03-20 21:31:23 +02:00
Radu Popovici
8ace4fa7cb fix front camera rotation 2016-02-18 18:10:56 +02:00
Radu Popovici
de1e3320bc fix auto-focus mode on android 2016-02-18 12:55:28 +02:00
Radu Popovici
ff66374fd1 fix react native 0.19.0 upgrade bugs for android 2016-02-02 13:13:57 +02: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
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
Loch Wansbrough
1b5de73fe9 Merge pull request #170 from corbt/promises
Switch from callbacks to promises
2016-01-31 18:16:07 -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
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
Lochlan Wansbrough
c844f2bfac Removed left over import. Updated Android stuff. 2015-09-21 21:21:08 -07:00
Lochlan Wansbrough
3172ed7060 Stubbed Android support. 2015-09-21 20:22:56 -07:00