Commit Graph

364 Commits

Author SHA1 Message Date
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
Carmine DiMascio e20902933d Add hasFlash support for Android 2016-03-26 20:27:40 -04:00
Radu Popovici 5d98407e67 make orientation public 2016-03-24 10:25:45 +02:00
Radu Popovici 379f75d7a6 refactor sensor orientation checker 2016-03-24 10:12:57 +02:00
Radu Popovici f7524c20ce extract sensor checker to a separate class 2016-03-24 09:31:12 +02:00
Radu Popovici 8f252aa687 Merge branch 'master' of https://github.com/lwansbrough/react-native-camera 2016-03-24 09:00:57 +02:00
Zack Story 63cfb65e43 Merge pull request #233 from rpopovici/memleak
fix mem leak on iOS
2016-03-23 22:36:52 -07:00
Radu Popovici eab5ef197b fix memory leak on iOS 2016-03-23 21:13:35 +02:00
Radu Popovici 4ab7a9d220 fix android snapshot orientation when device orientation is locked 2016-03-23 14:16:39 +02:00
Yasuyuki Toriumi mac b0c67ba556 fix iOS snapshot orientation when device orientation is locked 2016-03-23 11:32:48 +02:00
Zack Story bdb48c3956 Merge pull request #211 from rpopovici/master
set capture quality on android and iOS
2016-03-21 12:51:26 -07: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
Robin Breuker 990a1084d5 only check audio permissions when props.captureAudio is true. 2016-03-17 18:12:02 +01:00
Robin Breuker 06ad9347a4 Add audio and video authorization check separately 2016-03-17 15:07:39 +01:00
Brett Basler b650731dae transform metadata points to screen coordinates 2016-03-16 14:44:48 -07:00
Loch Wansbrough 8f2fa1e375 Merge pull request #214 from rt2zz/v1doc
add v1/legacy instructions
2016-03-08 10:22:47 -08:00
Loch Wansbrough 71f6ec4653 Merge pull request #213 from dhrrgn/fix-zoom
Fix zoomFactor getting reset to 1.0 when it goes above the max.
2016-03-08 10:08:17 -08:00
Zack 737c54a62a Merge pull request #218 from sunnylqm/patch-1
Aspect.Fill -> Aspect.fill
2016-03-02 19:02:06 -08:00
sunnylqm bdcd80f35b Aspect.Fill -> Aspect.fill 2016-03-03 10:03:51 +08:00