Commit Graph

194 Commits

Author SHA1 Message Date
Laurin Quast
1bc6d5bff0 Merge remote-tracking branch 'upstream/master' into pull-1640 2018-09-25 08:45:48 +02:00
Laurin Quast
6787cf48d2
Merge pull request #1801 from MrPluto/master
clean up camera when recording finished
2018-09-24 16:32:34 +02:00
Laurin Quast
8cd958e0c4
fix possible race condition
the method stopSession dispatches an async task which can result in a race condition between  the calls of`[super removeFromSuperview];` and `[self stopSession];`.
2018-09-24 15:16:36 +02:00
MrPluto
b6b3b3173b cleanupcamera when recording finished 2018-09-19 16:11:09 +08:00
SimonErm
495802333c disable torch before setting flash (#1780) 2018-09-13 12:57:27 -03:00
SimonErm
e5afe48913 Feature/orientation by accelerometer (#1786)
* Refactor RCTSensorOrientationChecker

* migrate SensorChecker to RNCamera
2018-09-13 12:57:18 -03:00
João Guilherme Fidelis
ace99ff83f
Merge pull request #1720 from SimonErm/feature/addVideoOrientationOption
add video orientation option
2018-09-06 11:33:15 -03:00
Aamir
652ea5f171 Adding 'doNotSave' option to skip saving (#1770)
* Add 'doNotSave' flag to android

Added check for 'doNotSave' flag to prevent saving picture to cache

* Update RNCameraManager to check for 'doNotSave'

Updated RNCameraManager to avoid saving to disk when 'doNotSave' set to true

* Update RNCamera to check for 'doNotSave'

Updated RNCameraManager to avoid saving to disk when 'doNotSave' provided and set to true

* Added notes for doNotSave

Added documentation for using doNotSave option
2018-09-03 10:11:43 -03:00
Daniil Ovoshchnikov
e12310869e implement text recognition for ios (#1775)
fix typo

fix aspect ratio
2018-09-03 10:11:09 -03:00
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
Beau Rushton
ca5a12b400 fix: update docs and add check for focus mode support 2018-06-18 12:49:40 +10:00
Beau Rushton
39cc29deca feat: adds autoFocusPointOfInterest to iOS 2018-06-18 11:20:04 +10: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