Joao Fidelis
4146865bb6
Change project from RCTCamera to RNCamera
2018-02-02 17:34:16 -02:00
Sibelius Seraphini
6d327d2262
Merge pull request #1208 from helloagain-dev/fix-code-128
...
Use AVMetadataObjectTypeCode128Code for code128 barcodeType
2018-02-02 14:22:00 -02:00
Michael Schoendorfer
e652db9c39
Use AVMetadataObjectTypeCode128Code for code128 barcodeType
2018-02-02 16:51:15 +01:00
Sebastian Germesin
d800d9c9cb
Fix issue #461
2018-02-01 09:04:32 +01:00
Joao Fidelis
169c489d88
Make look for frameworks in ios folder (recursively) for projects that put frameworks inside the ios folder and not in a Framework folder.
2018-01-31 18:17:57 -02:00
Joao Fidelis
c2f21a6ed9
Add captureAudio flag for RNCamera as a prop
2018-01-31 16:36:38 -02:00
Joao Fidelis
177cf00775
Make RNCamera check for permissions.
...
Migrate permission check to different file to be shared by RNCamera and RCTCamera
2018-01-30 16:17:32 -02:00
Joao Fidelis
25534e35ab
Make FaceDetection optional in iOS
2018-01-26 19:12:01 -02:00
Joao Fidelis
a09436e9ab
Implement get view from reactTag on Android and iOS.
...
Do not save app context on CameraModule
2018-01-24 19:32:24 -02:00
Joao Fidelis
151e58e234
Get rid of cocoapods dependency
2018-01-23 15:40:50 -02:00
João Guilherme Fidelis
c6907b9e88
Merge pull request #1147 from jgfidelis/save-img-cache-ios
...
Fix build problem and save image on cache directory
2018-01-23 11:24:08 -02:00
Joao Fidelis
c4c9561863
Make face detector work on iOS
2018-01-23 11:02:12 -02:00
Joao Fidelis
9998c0f98a
Fix build problem, save image on cache directory and return uri on response.
2018-01-23 10:38:13 -02:00
Nicolas Morin
310933edec
Merge pull request #1138 from tirrorex/master
...
Fix imageSize parameter for saveImage method (ios)
2018-01-23 10:01:31 +01:00
Joao Fidelis
852cfa963e
Fix headers and look for RNCamera inside viewRegistry in all methods of RNCameraManager on ios.
2018-01-22 16:35:47 -02:00
Joao Fidelis
8ebeb530c5
FaceDetector implementation integrated
2018-01-22 15:55:37 -02:00
tirrorex
759a5278d3
fixing imageSize parameter for saveImage method (ios)
2018-01-22 15:40:36 +01:00
Peter Chermanowicz
3622e22286
setZoom method added
2018-01-22 10:07:27 +00:00
Sibelius Seraphini
b364743e01
Merge branch 'ios-camera-implementation' of https://github.com/jgfidelis/react-native-camera into jgfidelis-ios-camera-implementation
2018-01-21 12:50:00 -02:00
Joao Fidelis
fe0c001cae
Add Expo Camera implementation classes for future integration
2018-01-20 19:27:30 -02:00
Alex Merrifield
09f18f1c5a
setup viewport size before using.
2018-01-19 17:20:03 -05:00
Nicolas Morin
2c3444ce29
Return picture size
2018-01-19 19:52:26 +01:00
Tyler Strand
a1186be6a2
fallback to high when resolution specified that camera doesn't support
2018-01-15 15:33:40 -05:00
Tyler Strand
6aa3cda762
wip
2018-01-15 10:14:12 -05:00
Oscar Franco
668b0e5076
Merge pull request #980 from apprennet/AVCaptureSessionError
...
serialize setCaptureQuality using sessionQueue
2018-01-12 20:28:03 +01:00
Marcus Andersson
e546ae852c
fixed merge conflicts.
2018-01-08 21:12:39 +01:00
Sibelius Seraphini
35c5584099
Merge pull request #619 from flybayer/fix-crash
...
Fix crash when not enough disk storage to save media
2018-01-07 14:01:43 -08:00
Marcus Andersson
ec4ac6c74b
fixed so camera works in all orientations for ios
2017-12-20 20:19:14 +01:00
Marcus Andersson
da1f0f2fdd
changed so we use the cropToPreview parameter to crop the image
2017-12-20 20:19:05 +01:00
Albert Martin
39f19cd7c7
feat(ios): add support for preview
to match viewport cropping ( #627 )
2017-12-13 15:44:25 -08:00
Sibelius Seraphini
241b5d1060
Merge pull request #859 from cbrevik/start-stop-preview
...
Add start/stopPreview for Camera
2017-12-07 10:48:23 -02:00
Manuel Nakamurakare
6801113628
serialize setCaptureQuality using sessionQueue
2017-11-13 16:08:42 -08:00
Kesha Antonov
59a0b44c71
fix crash on tap focus & warning on start ( #961 )
2017-10-28 08:28:15 +02:00
Christian Brevik
1bcf8577a4
Add start/stopPreview for Camera
2017-08-27 18:08:58 +02:00
Armin Primadi
dd8c5c1578
Fix fixOrientation in captureStill always returns true (it returns NSCFBoolean which evaluates to true even if the value is false) ( #729 )
2017-05-31 12:31:31 +01:00
Armin Primadi
41d3292b6b
Fix invalid reference when metadataOrientation is other than 3 or 6 ( #728 )
2017-05-29 15:28:20 -07:00
Nick Pomfret
cb4447c60e
add fixOrientation option ( #682 )
...
* optional fix orientation
* comments
* docs
2017-05-17 10:32:53 -07:00
Abe Botros
20b0721850
iOS: minor focus and zoom changes ( #578 )
...
* iOS: minor focus and zoom changes
RCTCameraManager focusAtThePoint improvements
- Dynamicaly get size from bounds of camera view, instead of full screen, since
it might not always be the case that the Camera react component is taking up
the entire device screen.
- Also add setting exposure to the same point of interest we are focusing on.
Example
- Add onFocusChanged and onZoomChanged empty callback functions by default to
Example app, allowing tap-to-focus and pinch-to-zoom to be readily
experienced/experimented with.
- Updated react/react-native dependencies to match root package.json.
TODO/Other remarks
- Tap-to-focus seems to still not work perfectly... From logging, it always seems
to get the right location in the view (meaning its getting the right location
from the user touch and transforming it to the {0, 1} range appropriately), and
does indeed engage the focus process, but it seems it sometimes refocuses on the
center-ish region of what's in the camera instead of the location that was actually
pressed. I thought this might be related to the subjectAreaDidChange getting called,
which in turn sets the focus mode to continuous auto-focus at the view center, but
from my experimenting, this method never actually gets called. I wasn't able to
figure out if there's somewhere else in the library that's forcing continuous auto-focus,
or if there's just some bug in our current focus procedure within focusAtThePoint.
* Reset Example/package.json dependency versions to master
2017-04-23 14:01:04 -07:00
Alex Dunae
8024d6992f
Fix typo in code128 definition for barCodeTypes
2017-04-06 08:25:00 +02:00
Nick Pomfret
98de15cf9a
[android] add gps meta to android ( #643 )
...
* writing metadata.location (lat and lon coords only) to the exif data... and returning the internal url for the new image (which can be used in conjunction with the RN CameraRoll)
* just a tidy up to remove some duplication and fix some logging (no functional changes)
* oops, fix typo
* docs
* added mediaUri to ios so its the same as android
2017-03-23 08:41:01 -07:00
Brandon Bayer
543ae8fd72
fix: crash when not enough disk storage to save media
2017-03-04 12:50:04 -06:00
Michael Nolivos
9f3d893f42
Added runtime check for supported bar code types
2017-02-03 20:47:50 -08:00
Chirag
d0f48894b6
(ios): fix header search paths ( #577 )
2017-01-30 17:42:51 -08:00
egpast
edcd2435de
Fix iOS orientation logic typo ( #573 )
...
- This typo results in all roughly face-up still pictures being interpreted as portrait shots.
2017-01-28 01:49:11 -08:00
Derek Hsu
c12fd726a3
Fix barcode type ‘code128’ typo ( #563 )
2017-01-22 23:20:39 -08:00
rt2zz
7224acd7db
Revert "Revert "[iOS]: fix for breaking iOS header change in RN 0.40.0 ( #544 )""
...
This reverts commit 47b7cf2ac17f6ff8193fb2adc87961167e4bceab.
2017-01-22 19:34:09 -08:00
Philip Nuzhnyi
6421067076
set camera pointer to nil when stopping session in emulator ( #523 )
2017-01-22 19:33:56 -08:00
rt2zz
47b7cf2ac1
Revert "[iOS]: fix for breaking iOS header change in RN 0.40.0 ( #544 )"
...
This reverts commit 048e7414d638a2e7e1dc07e189e4f632b721eaee.
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