rt2zz
47b7cf2ac1
Revert "[iOS]: fix for breaking iOS header change in RN 0.40.0 ( #544 )"
...
This reverts commit 048e7414d6
.
2017-01-06 11:52:27 -08:00
Daniel Kim
048e7414d6
[iOS]: fix for breaking iOS header change in RN 0.40.0 ( #544 )
2017-01-05 16:07:49 -08:00
Ron Heft
b308d08e9a
Race conditions initializing flashMode ( #436 )
...
* Fix race condition initializing Android camera
* Fix race condition initializing flashMode iOS
2016-12-08 21:05:35 -05:00
Ian Bussières
3f04dd3587
Fix crash on second invocation of camera when running on iOS 10 simulator ( #441 )
2016-11-18 17:45:21 -05:00
abrahambotros
a2a6d028a4
Add 1080p, 720p, and 480p capture qualities. ( #469 )
...
* Add 1080p, 720p, and 480p capture qualities.
* Minor improvements for picture/video sizing.
- Minor refactoring for getting supported sizes (DRY).
- Add explicit pictureSize setting for 480p/720p/1080p in still/picture mode.
* Use util.Size objects for 480p/720p/1080p sizing.
- Note using Camera.Size objects would require a camera instance prior to creating the
size objects, which would be manageable but not too clean.
* Remove 480p for iOS; 16:9/HD aspect ratio for Android 480p
- iOS only has a 640x480 480p-like AVCaptureSessionPreset, which is not the typical 16:9/HD aspect ratio
desired. Removing this option as a result of this.
- Android 480p updated to use 16:9/HD aspect ratio.
* Add notes for (in)exact sizing for 1080p/720p/480p
* Re-add 480p on iOS, more notes on resolutions.
- Add notes on non-HD-aspect-ratio for iOS 480p.
- Add more explanation of variable resolution/sizes, especially for 480p on Android.
* Use custom Resolution class to hold 480p/720p/1080p resolution sizes
- Mistakenly used util.Size class before, which was not added until Android API level 21 (current
min is 16).
2016-11-18 17:38:23 -05:00
Roman Mandryk
000c09a2cc
Fix for issue #386 - camera cras- ios 10 simulator
2016-09-24 21:18:41 +08:00
matejkriz
f4bf30e17b
prevent freezing when opened 2 times via navigator ( http://stackoverflow.com/questions/33046061/ ) ( #380 )
2016-09-12 20:31:46 -07:00
Tuomas Peippo
355a6daea3
Move setCaptureQuality outside of capture function ( #322 )
2016-08-02 16:22:15 -04:00
Gethin Webster
2444964ead
Ensure that preview orientation is correct on launch ( #354 )
2016-08-01 18:22:35 -07:00
stantoncbradley
5ba2d3e40d
add commitConfiguration to stopSession
2016-06-05 12:40:32 -07:00
Charlie Hawker
61617e2bd5
Fixes #301 ( #302 )
2016-05-28 12:12:09 -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
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
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
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
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
9162879305
[barcode] default barCodeTypes to [] if no barcode listener
2016-04-23 12:45:44 -07:00
Jannik Sommerfeld
301620ef90
Update RCTCameraManager.m
2016-04-23 12:44:41 -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
Kyle Corbitt
0c789b8da0
capture returns metadata
2016-04-23 12:44:39 -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
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
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
Radu Popovici
dff6b82147
Merge branch 'master' of https://github.com/lwansbrough/react-native-camera
2016-03-30 11:34:20 +03:00
Dan Horrigan
1406e0630f
Add the `mirrorImage` prop will will mirror the resulting image when true.
2016-03-28 14:40:07 -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
Radu Popovici
eab5ef197b
fix memory leak on iOS
2016-03-23 21:13:35 +02:00
Yasuyuki Toriumi mac
b0c67ba556
fix iOS snapshot orientation when device orientation is locked
2016-03-23 11:32:48 +02:00
Radu Popovici
5659cc7809
add captureQuality option
2016-03-20 21:31:23 +02: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
Dan Horrigan
0bf12d1fea
Fix zoomFactor getting improperly reset to 1.0 when it goes above the max.
2016-02-24 13:36:50 -05:00
Loch Wansbrough
d786581d08
Merge pull request #196 from brunobar79/more-barcode-types
...
Add support for ITF14 and interleaved 2 of 5 barcode types
2016-02-13 15:44:50 -08:00