Commit Graph

493 Commits

Author SHA1 Message Date
Gethin Webster 2444964ead Ensure that preview orientation is correct on launch (#354) 2016-08-01 18:22:35 -07:00
Jason Marshall 1032370749 rnpm is part of react-native now (#355) 2016-08-01 18:19:41 -07:00
Nicolas Charpentier 9ddc787cb5 Merge pull request #334 from king6cong/example-fix
fix Example js bundle failure
2016-07-11 09:33:04 -04:00
king6cong d8cdbd6b0f fix Example js bundle failure 2016-07-04 21:26:32 +08:00
Zack Story d4d1aec581 add z orientation comment, closes #308 2016-07-02 20:59:13 -07:00
gchiocchio 6f989a51bd Fix Z-Order issue child item Camera Android 2016-07-02 20:44:48 -07:00
Jonathan Stanton 0d32769dac Add podspec (#329)
* Add podspec file

* Add instructions for CocoaPods
2016-07-02 12:01:43 -07:00
Nicolas Charpentier 75093a36d8 Merge pull request #312 from stantoncbradley/master
add commitConfiguration to stopSession
2016-06-27 11:44:11 -04:00
Nicolas Charpentier e1f04e082a Merge pull request #304 from charpeni/example
Add example
2016-06-14 09:16:25 -04:00
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
Nicolas Charpentier 1024c6bed5 Add example 2016-05-30 11:19:43 -04: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