Commit Graph

183 Commits

Author SHA1 Message Date
SimonErm
ee92cab64d
Merge branch 'master' into feature/addVideoOrientationOption 2018-08-15 08:59:59 +02:00
Arseniy Harlanow
851e6dc57b Fix ios flash (#1731)
* permission request RECORD_AUDIO on android

Added permission request for RECORD_AUDIO on android

* permission request RECORD_AUDIO on android

Request permission RECORD_AUDIO only if hasVideoAndAudio == true

* permission RECORD_AUDIO on android

removed Platform 23 check

* fix flash on ios

fix flash on and auto for ios
2018-08-08 11:42:31 -03:00
Simon Ermler
03478f6232 add video orientation option 2018-08-01 10:42:58 +02:00
Diego Cáceres
83c26fd01c fixed missing bracket from merge 2018-07-30 17:13:29 -03:00
Diego Cáceres
0fe7906c37 merge with upstream master and fix conflicts 2018-07-30 13:46:38 -03:00
Joe Ridenour
aca37d30e5 Continued Recording
- Updated RNCamera.js to allow for path in recording options
- Updated RNCamera.m to check for new `path` key in options
- Updated RNCameraView.java to check for `path` property to use
- Updated RNCamera.md to reflect new option
2018-06-19 09:04:42 -05:00
Laurin Quast
91f5bf4567
fix(rn-camera): fix codec backwards compat 2018-06-13 14:35:16 +02:00
Joao Fidelis
ad87c8e342 fix(picture-size): create None default value 2018-06-07 17:04:32 -03:00
Laurin Quast
83d0618e98 fix(rn-camera): fix types, conversions and casts 2018-06-06 23:13:30 +02:00
Laurin Quast
a090faa09b WIP: Implement video stabilization mode property for ios (#1606)
* feat(rn-camera): implement video stabilization mode property for ios

* feat(rn-camera): export video stabilization values on camera object

* docs(rn-camera): document video stabilization mode feature
2018-06-05 11:21:22 +01:00
João Guilherme Fidelis
e9cadb7e01
Merge pull request #1600 from react-native-community/feat/preview
Feat/preview
2018-06-04 09:33:41 -03:00
Thomas O'Brien
7a2f911cd9 ios-get-video-orientation-from-device-2 2018-05-30 12:19:10 -07:00
Joao Fidelis
b9fb708ffc feat(preview): add preview methods and more fixes 2018-05-29 10:47:42 -03:00
Thomas Parslow
4ffedae792 Support orientation option when taking picture on ios 2018-05-20 23:46:59 +02:00
Thomas Parslow
d843de4eb6 Set AVCaptureSessionPresetHigh before capturing photo
My previous commit for this set it in one place but I forgot the other
2018-05-20 23:39:18 +02:00
Thomas Parslow
6b3bbe1e05
The correct capture preset for photos is AVCaptureSessionPresetPhoto
AVCaptureSessionPresetHigh sometimes means the camera is too zoomed in
2018-05-03 18:59:53 +01:00
João Guilherme Fidelis
68106f4e2c
Merge pull request #1523 from fagerbua/ios-288p-video
Support CIF (288p) video quality on iOS
2018-04-26 11:27:04 -03:00
Albert Martin
bba84a9834 fix(cache): store video recordings in same directory as photos 2018-04-25 19:43:56 -05:00
Matt
d54f45195d Instead of just setting the videoMirrored option, actually flip the video through an x-scale -1 transform. It seems videoMirrored isn't flipping it in a way Elastic Transcoder likes, because when the video is transocded it gets flipped back. This fixes that. 2018-04-25 12:51:24 -07:00
Matt
aee1eb6f8f Apply mirrorVideo to RNCamera as well 2018-04-24 18:15:03 -07:00
Matt
052dd12c05 Fix build error 2018-04-24 16:12:24 -07:00
Matt
f25df35431 Option to mirrorVideo for iOS
The work done by @rad182 (but he closed his pull request?) https://github.com/react-native-community/react-native-camera/pull/915
2018-04-24 15:18:17 -07:00
Jason Brown
564ead0228 FIXED warning for focusDepth on front-facing camera 2018-04-19 17:17:32 +01:00
Joao Fidelis
dee298b4fe fix(search-paths): remove unnecessary search paths and add missing one 2018-04-15 19:15:56 -03:00
Simon Ermler
6939734ba3 add bounds to barcodeReadEvent 2018-03-26 23:15:59 +02:00
Jarle Fagerheim
109833294c support CIF video quality on iOS 2018-03-26 10:24:10 +02:00
Albert Martin
9ef5b29ad5 fix(ios): add video output early to avoid underexposed beginning 2018-03-24 19:16:16 -05:00
Malte Peters
8c69601789 fix: issue #1246 - torch will be disabled when starting the record 2018-03-23 20:49:45 +01:00
Bruno Lemos
6548ab3227
Merge branch 'master' into fix/face-feature-optional 2018-03-13 14:38:03 -03:00
Joao Fidelis
4496c32171 fix(ios-project): fix path to parent's ios project 2018-03-13 11:37:56 -03:00
Bruno Lemos
5a408b70b7
[iOS] Make GoogleMobileVision framework optional 2018-03-12 18:14:40 -03:00
Laurin Quast
c0d5aabf0b feat(rn-camera): add codec option for ios 2018-03-12 21:30:15 +01:00
João Guilherme Fidelis
9dbfdff53d
Merge pull request #946 from zaubara/master
Various iOS Focus Updates
2018-03-10 12:53:42 -03:00
Michaël Villeneuve
c331964c24
Merge pull request #1283 from Snapp-FidMe/width_control_and_rotation_fix
Width control and rotation fix
2018-02-27 15:07:33 +01:00
Sibelius Seraphini
84a3683618
Merge pull request #1291 from MatthieuLemoine/fix-path-ios
Fix recursive header expansion falied
2018-02-26 10:31:33 -03:00
Michaël Villeneuve
69efb06d42
Merge branch 'master' into width_control_and_rotation_fix 2018-02-26 14:13:22 +01:00
MatthieuLemoine
31143ca295 Fix recursive header expansion falied 2018-02-26 10:55:14 +01:00
Michaël Villeneuve
0c0acd227c Fixed wrong method signature 2018-02-26 09:15:12 +01:00
Michaël Villeneuve
c20fb94150 Add ability to force up orientation on iOS 2018-02-26 09:15:02 +01:00
Michaël Villeneuve
8b26827730 Removed conflicts 2018-02-23 16:22:04 +01:00
Michaël Villeneuve
cc4520d72f Update documentation with new width property 2018-02-23 16:20:17 +01:00
Michaël Villeneuve
27ea6b04c2 Add width property on iOS. Allows to specify an image width on capture 2018-02-23 16:18:53 +01:00
Joao Fidelis
3b3c38dd7d chore(face-detector): make face detection stoppage smoother 2018-02-19 10:32:51 -03:00
Martin Puza
1351170d73 Merge remote-tracking branch 'upstream/master' 2018-02-14 18:52:30 +01:00
João Guilherme Fidelis
463d78856d
Merge pull request #1243 from jgfidelis/fix/focus-warning
fix(focusWarning): fix focus depth warning being shown for ios.
2018-02-14 12:12:33 -02:00
Joao Fidelis
79698b815b fix(focusWarning): fix focus depth warning being shown for ios. 2018-02-14 11:39:14 -02:00
João Guilherme Fidelis
b2c06e64bf
Merge pull request #1242 from jgfidelis/mirrorOption
feat(mirror): add option to give "mirrorImage" flag to takePicture.
2018-02-14 10:57:32 -02:00
Joao Fidelis
0b6f0abda0 feat(mirror): add option to give "mirrorImage" flag to takePicture. 2018-02-14 10:48:21 -02:00
Joao Fidelis
a5b9f7e717 fix(imports): delete some useless imports which may cause problems 2018-02-13 17:44:30 -02:00
Joao Fidelis
4146865bb6 Change project from RCTCamera to RNCamera 2018-02-02 17:34:16 -02:00