Commit Graph

283 Commits

Author SHA1 Message Date
stantoncbradley 5ba2d3e40d add commitConfiguration to stopSession 2016-06-05 12:40:32 -07:00
Darryl Blake b2d9fa904b React, and Component should now be imported from 'react', not 'react-native'. (#297) 2016-06-01 10:30:52 -07:00
Nicolas Charpentier 8e1c14cda3 Export constants (#305) 2016-06-01 10:25:59 -07:00
Charlie Hawker 61617e2bd5 Fixes #301 (#302) 2016-05-28 12:12:09 -07:00
Matt Dean a2f8901f95 Remove duplicate playSoundOnCapture property (#299)
On Android this throws a SyntaxError: Attempted to redefine property 'playSoundOnCapture'.
2016-05-26 11:45:14 -07:00
Ryan Wu bff819c574 More accurate log (#289)
Move capturing audio log when it's actually capturing
2016-05-18 08:30:07 -07:00
Radu-Marius Popovici 569da0c31a fix iOS regression (#287)
* 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

* fix regression on iOS
2016-05-16 09:28:47 -07:00
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
Tom f9137824a0 Update index.js (#282)
Changed the way PropTypes is imported to fix warning in react native 0.25.
2016-05-10 11:03:06 -07:00
Zack Story 347d04e843 Update README.md 2016-04-27 20:37:58 -07:00
Zack Story 8d42cd4dde Update README.md 2016-04-27 20:37:48 -07:00
Zack Story c3ca7cbb03 Merge pull request #270 from lwansbrough/v1
v1 Updates
2016-04-27 20:34:46 -07:00
Kyle Corbitt 1fdb3e73a8
remove undefined methods 2016-04-26 10:41:10 -07:00
Zack Story 2dc43922dc
merge device orientation branch 2016-04-23 13:02:29 -07:00
Jason Brown 75dff8bff1 Add photo documentation (#269) 2016-04-23 12:59:17 -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
Kyle Corbitt b793b38bbf
rename Camera to index 2016-04-23 12:54:21 -07:00
Kyle Corbitt e95f560526
torch fixes 2016-04-23 12:50:14 -07:00
Kyle Corbitt 7fc183c2e7
increase cohesion of ios methods 2016-04-23 12:50:05 -07:00
Zack Story 57c391cf1a
[barcode] proxy onBarCodeRead, fix constants 2016-04-23 12:45:45 -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
Zack Story fae43dd698
[readme] notes for barCodeTypes and playSoundOnCapture 2016-04-23 12:44:41 -07:00
Jannik Sommerfeld 301620ef90
Update RCTCameraManager.m 2016-04-23 12:44:41 -07:00
Jannik Sommerfeld b97e153ec9
Update Camera.js 2016-04-23 12:44:40 -07:00
Jannik Sommerfeld d449599248
Update RCTCamera.m 2016-04-23 12:44:40 -07:00
Jannik Sommerfeld 9c99108025
Update RCTCameraManager.h 2016-04-23 12:44:40 -07:00
Jannik Sommerfeld 3e880ec386
Update RCTCameraManager.m 2016-04-23 12:44:40 -07:00
Jannik Sommerfeld 714bc6713d
Search only defined barcodes to improve performance 2016-04-23 12:44:39 -07:00
Zack Story 921965208f
[captureMode] conver string captureMode prop, only check audio permission if in video mode 2016-04-23 12:44:39 -07:00
Kyle Corbitt 0c789b8da0
capture returns metadata 2016-04-23 12:44:39 -07:00
Kyle Corbitt 12b5e330cd separate React from ReactNative (#266) 2016-04-23 12:42:35 -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 9646090482 Merge branch 'master' of https://github.com/lwansbrough/react-native-camera 2016-04-04 10:54:33 +02:00
Zack Story cfac209da8 [permissions] rename checkCameraAuthorizationStatus to checkVideoAuthorizationStatus 2016-04-03 11:19:31 -07:00
Zack Story c981675636 Merge pull request #230 from niborb/feature/add-audio-and-video-authorization-check
Add audio and video authorization check separately
2016-04-03 11:09:34 -07:00
Zack Story 067a37146c Merge pull request #228 from bletchley/feature/barcode-screen-coordinates
transform barcode metadata points to screen coordinates
2016-04-03 11:00:12 -07:00
Zack Story e57bae7bc3 Merge pull request #243 from corbt/preview-init
Init preview each time view requested
2016-04-03 10:42:30 -07:00
Radu Popovici 98bd7a853a Merge branch 'master' of https://github.com/lwansbrough/react-native-camera 2016-04-03 10:06:28 +03:00
Zack Story 9ac0247f94 Merge pull request #235 from cdimascio/pr/hasFlashAndroid
Add hasFlash support for Android
2016-04-02 19:14:47 -07:00
Zack Story 8bb0b32707 Merge pull request #244 from corbt/better-orientation-init
Set the right preview orientation before startup
2016-04-02 18:59:08 -07:00
Zack Story e1b319ed2a Merge pull request #239 from corbt/faster-video
Faster video file processing
2016-04-02 18:52:55 -07:00
Kyle Corbitt 2eac22d151 init preview each time view requested 2016-04-02 15:17:36 -07:00
Kyle Corbitt d3ec8388d9 set the right preview orientation before startup 2016-04-01 20:48:08 -07:00
Kyle Corbitt 9537056157 move instead of copy for much improved perf 2016-03-31 15:00:52 -07:00
Carmine DiMascio b7803d6056 Return on reject 2016-03-31 16:34:59 -04:00
Radu Popovici dff6b82147 Merge branch 'master' of https://github.com/lwansbrough/react-native-camera 2016-03-30 11:34:20 +03:00
Zack Story 13384afdcf Merge pull request #212 from dhrrgn/mirror-front-camera
Add new mirrorImage prop (iOS only right now).
2016-03-29 16:11:39 -07:00
Dan Horrigan 1406e0630f Add the `mirrorImage` prop will will mirror the resulting image when true. 2016-03-28 14:40:07 -04:00