Marcos Rodriguez Vélez
3e04f6156d
Update RNCamera.m
2020-11-15 00:01:11 -05:00
Marcos Rodriguez Vélez
c307142c9d
Add If/endif for Catalyst
2020-11-13 23:49:37 -05:00
Marcos Rodriguez Vélez
3467454fcf
Add If/EndIf for Catalyst
2020-11-13 23:49:37 -05:00
Felippe Rodrigo Puhle
42388be530
Merge pull request #3005 from doranteseduardo/master
...
Fixed documentation URL
2020-10-20 17:06:53 -03:00
Eduardo Dorantes
4b65edfe84
Fixed documentation URL
2020-10-19 21:18:59 -05:00
Sibelius Seraphini
d973dbaab6
improve
2020-10-14 10:15:37 -03:00
Sibelius Seraphini
b01531189a
Looking for Maintainers
2020-10-14 10:15:14 -03:00
semantic-release-bot
819ba0d526
chore(release): 3.40.0 [skip ci]
...
# [3.40.0](https://github.com/react-native-community/react-native-camera/compare/v3.39.1...v3.40.0 ) (2020-09-18)
### Features
* **ios:** Optimize invertColors / fix memory leak ([#2955 ](https://github.com/react-native-community/react-native-camera/issues/2955 )) ([43f2a0f ](43f2a0f774 )), closes [#2904 ](https://github.com/react-native-community/react-native-camera/issues/2904 ) [#2950 ](https://github.com/react-native-community/react-native-camera/issues/2950 )
2020-09-18 14:43:23 +00:00
stanleykerr
43f2a0f774
feat(ios): Optimize invertColors / fix memory leak ( #2955 )
...
Releases the CGImage that was created in order to populate the UIImage's CGImage property. This probably relates to #2904 and possibly #2950 .
2020-09-18 11:41:27 -03:00
dependabot[bot]
90ec544cd2
chore(deps): bump logkitty in /examples/advanced/advanced ( #2976 )
...
Bumps [logkitty](https://github.com/zamotany/logkitty ) from 0.6.1 to 0.7.1.
- [Release notes](https://github.com/zamotany/logkitty/releases )
- [Commits](https://github.com/zamotany/logkitty/compare/v0.6.1...v0.7.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 07:55:25 -03:00
semantic-release-bot
5c1187ed42
chore(release): 3.39.1 [skip ci]
...
## [3.39.1](https://github.com/react-native-community/react-native-camera/compare/v3.39.0...v3.39.1 ) (2020-09-17)
### Bug Fixes
* Xcode 12 compatibility ([#2975 ](https://github.com/react-native-community/react-native-camera/issues/2975 )) ([1e7152e ](1e7152e179 ))
2020-09-17 15:10:17 +00:00
Radek Czemerys
1e7152e179
fix: Xcode 12 compatibility ( #2975 )
2020-09-17 12:07:03 -03:00
semantic-release-bot
d5e74c05ed
chore(release): 3.39.0 [skip ci]
...
# [3.39.0](https://github.com/react-native-community/react-native-camera/compare/v3.38.0...v3.39.0 ) (2020-09-08)
### Features
* **upgrade:** upgrade deps ([#2967 ](https://github.com/react-native-community/react-native-camera/issues/2967 )) ([1d876ef ](1d876ef5eb ))
2020-09-08 17:30:32 +00:00
dependabot[bot]
bde54e0559
chore(deps): bump handlebars in /examples/advanced/advanced ( #2968 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.5.2 to 4.7.6.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.2...v4.7.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 14:28:42 -03:00
Sibelius Seraphini
1d876ef5eb
feat(upgrade): upgrade deps ( #2967 )
...
* feat(upgrade): upgrade deps
* feat(key): add missing debug keystore
2020-09-08 14:28:20 -03:00
dependabot[bot]
a6a7a9be1b
chore(deps): bump decompress from 4.2.0 to 4.2.1 in /website ( #2962 )
...
Bumps [decompress](https://github.com/kevva/decompress ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/kevva/decompress/releases )
- [Commits](https://github.com/kevva/decompress/compare/v4.2.0...v4.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 09:49:23 -03:00
dependabot[bot]
27dbe43ad3
chore(deps): bump @hapi/hoek in /examples/advanced/advanced ( #2965 )
...
Bumps [@hapi/hoek](https://github.com/hapijs/hoek ) from 8.5.0 to 8.5.1.
- [Release notes](https://github.com/hapijs/hoek/releases )
- [Commits](https://github.com/hapijs/hoek/compare/v8.5.0...v8.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 09:49:11 -03:00
semantic-release-bot
641ae7525c
chore(release): 3.38.0 [skip ci]
...
# [3.38.0](https://github.com/react-native-community/react-native-camera/compare/v3.37.0...v3.38.0 ) (2020-09-02)
### Features
* **windows:** updates for RNW 0.63 ([#2960 ](https://github.com/react-native-community/react-native-camera/issues/2960 )) ([b990a24 ](https://github.com/react-native-community/react-native-camera/commit/b990a24 )), closes [#2942 ](https://github.com/react-native-community/react-native-camera/issues/2942 ) [#2944 ](https://github.com/react-native-community/react-native-camera/issues/2944 )
2020-09-02 01:26:22 +00:00
Jon Thysell
b990a2465c
feat(windows): updates for RNW 0.63 ( #2960 )
...
Build:
* Updated huycn.zxingcpp.winrt to v1.1.0, enables ARM64 build on RNW >=
0.61
* Updated ReactNativeCameraCPP.sln with RNW 0.63 dependencies
* Added ReactNativeCameraCPP62.sln for building against RNW 0.62
* Cleaned up ReactNativeCameraCPP61.sln for building against RNW 0.61
ReactNativeCamera RNCamera component:
* Passing unspecified maxDuration to recordAsync no longer stops
recording immediately
Documentation:
* Updated installation docs for RNW 0.63 auto-linking
Closes #2942 , #2944
2020-09-01 22:24:04 -03:00
semantic-release-bot
f4f6352392
chore(release): 3.37.0 [skip ci]
...
# [3.37.0](https://github.com/react-native-community/react-native-camera/compare/v3.36.0...v3.37.0 ) (2020-08-21)
### Bug Fixes
* **android:** Fix camera parameters getting lost on setting focus. ([#2946 ](https://github.com/react-native-community/react-native-camera/issues/2946 )) ([4763777 ](https://github.com/react-native-community/react-native-camera/commit/4763777 ))
### Features
* **android:** Document `pictureSize` and make sure Camera1 implementation uses it appropriately. ([#2945 ](https://github.com/react-native-community/react-native-camera/issues/2945 )) ([628c416 ](https://github.com/react-native-community/react-native-camera/commit/628c416 ))
* **ios:** Reset cached exposure limits to avoid a crash. ([#2948 ](https://github.com/react-native-community/react-native-camera/issues/2948 )) ([7109ac7 ](https://github.com/react-native-community/react-native-camera/commit/7109ac7 ))
2020-08-21 11:22:07 +00:00
cristianoccazinsp
7109ac7ab1
feat(ios): Reset cached exposure limits to avoid a crash. ( #2948 )
...
Add exception handling to exposure updates just in case.
Co-authored-by: Cristiano Coelho <cristianocca@hotmail.com>
2020-08-21 08:19:21 -03:00
cristianoccazinsp
47637774a1
fix(android): Fix camera parameters getting lost on setting focus. ( #2946 )
...
* Fix camera parameters getting lost on setting focus.
* merge error
Co-authored-by: Cristiano Coelho <cristianocca@hotmail.com>
2020-08-21 08:18:55 -03:00
cristianoccazinsp
628c4162e1
feat(android): Document pictureSize and make sure Camera1 implementation uses it appropriately. ( #2945 )
...
Co-authored-by: Cristiano Coelho <cristianocca@hotmail.com>
2020-08-21 08:18:34 -03:00
semantic-release-bot
d7092048ff
chore(release): 3.36.0 [skip ci]
...
# [3.36.0](https://github.com/react-native-community/react-native-camera/compare/v3.35.0...v3.36.0 ) (2020-08-11)
### Features
* **windows:** added barcode scanning support ([#2930 ](https://github.com/react-native-community/react-native-camera/issues/2930 )) ([2782a24 ](https://github.com/react-native-community/react-native-camera/commit/2782a24 )), closes [#2830 ](https://github.com/react-native-community/react-native-camera/issues/2830 )
2020-08-11 18:59:08 +00:00
dependabot[bot]
5a3af65773
chore(deps): bump prismjs from 1.16.0 to 1.21.0 in /website ( #2939 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.16.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.16.0...v1.21.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-11 15:57:16 -03:00
Jon Thysell
2782a24d25
feat(windows): added barcode scanning support ( #2930 )
...
Build:
* Fixed issue with edit and continue debug symbols
* Fixed ReactNativeCameraCPP61 builds
* Added dependency on huycn.zxingcpp.winrt for barcode support
ReactNativeCameraCPP RNCamera component:
* Added onBarCodeRead event support
* Added barCodeScannerEnabled property support
* Added barCodeTypes property support
* Added barCodeReadIntervalMS property to alter how often the scan
occurs when enabled
ReactNativeCameraCPP RNCamera module:
* Added BarCodeType constants
Other:
* Fixed intermittent issue with thread marshalling
* Re-ran clang formatting
Closes #2830
2020-08-11 15:57:00 -03:00
semantic-release-bot
bec91a4b5a
chore(release): 3.35.0 [skip ci]
...
# [3.35.0](https://github.com/react-native-community/react-native-camera/compare/v3.34.0...v3.35.0 ) (2020-07-23)
### Features
* **android:** use FOCUS_MODE_MACRO if FOCUS_MODE_CONTINOUS_PICTURE is not available and device is scanning ([#2912 ](https://github.com/react-native-community/react-native-camera/issues/2912 )) ([20c62fb ](https://github.com/react-native-community/react-native-camera/commit/20c62fb ))
2020-07-23 17:07:52 +00:00
SimonErm
20c62fb972
feat(android): use FOCUS_MODE_MACRO if FOCUS_MODE_CONTINOUS_PICTURE is not available and device is scanning ( #2912 )
...
Co-authored-by: sermler <s.ermler@evosec.de>
2020-07-23 14:06:29 -03:00
semantic-release-bot
5a27a361fd
chore(release): 3.34.0 [skip ci]
...
# [3.34.0](https://github.com/react-native-community/react-native-camera/compare/v3.33.0...v3.34.0 ) (2020-07-23)
### Features
* **android:** onBarCodeRead should also send raw photo bytes, fixed [#2786 ](https://github.com/react-native-community/react-native-camera/issues/2786 ) ([#2923 ](https://github.com/react-native-community/react-native-camera/issues/2923 )) ([0df72c3 ](https://github.com/react-native-community/react-native-camera/commit/0df72c3 ))
2020-07-23 17:06:08 +00:00
Hendy Irawan
0df72c3114
feat(android): onBarCodeRead should also send raw photo bytes, fixed #2786 ( #2923 )
...
* feat: onBarCodeRead should also send raw photo bytes, fixed #2786
* docs: documentation to explain feature #2786
2020-07-23 14:04:18 -03:00
semantic-release-bot
c3159aa374
chore(release): 3.33.0 [skip ci]
...
# [3.33.0](https://github.com/react-native-community/react-native-camera/compare/v3.32.0...v3.33.0 ) (2020-07-21)
### Features
* **android:** Added pause and resume recording ([#2911 ](https://github.com/react-native-community/react-native-camera/issues/2911 )) ([360a5b0 ](https://github.com/react-native-community/react-native-camera/commit/360a5b0 ))
2020-07-21 21:36:27 +00:00
Pradeep S Asundi
360a5b0ce2
feat(android): Added pause and resume recording ( #2911 )
...
* Added pause and resume recording functionality for android version 24 onwards
* Added pause and resume recording functions to Camera1.java
Co-authored-by: Pradeep Asundi <pradeep@asundi.in>
2020-07-21 18:32:33 -03:00
semantic-release-bot
951fcbd397
chore(release): 3.32.0 [skip ci]
...
# [3.32.0](https://github.com/react-native-community/react-native-camera/compare/v3.31.1...v3.32.0 ) (2020-07-17)
### Features
* **windows:** updated for react-native-windows 0.62 ([#2882 ](https://github.com/react-native-community/react-native-camera/issues/2882 )) ([93e6581 ](https://github.com/react-native-community/react-native-camera/commit/93e6581 ))
2020-07-17 15:05:43 +00:00
dependabot[bot]
0d90e84848
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /examples/tests ( #2902 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 12:00:46 -03:00
dependabot[bot]
e78242b038
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /examples/mlkit ( #2900 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 12:00:20 -03:00
dependabot[bot]
2d7985a46f
chore(deps): bump lodash in /examples/advanced/advanced ( #2903 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 11:59:49 -03:00
dependabot[bot]
f3d6d7db19
chore(deps): bump lodash from 4.17.14 to 4.17.19 in /examples/basic ( #2899 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.14 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 11:59:34 -03:00
Jon Thysell
93e6581cde
feat(windows): updated for react-native-windows 0.62 ( #2882 )
...
Build:
* Updated ReactNativeCameraCPP projects to use the new RNW lib props/targets provided in 0.62 for easier upgrades
* Added new ReactNativeCameraCPP solution and readme with instructions for building locally
* Added ReactNativeCameraCPP61 solution and project to maintain 0.61 support
ReactNativeCameraCPP RNCamera component:
* Added properties: defaultVideoQuality, mirrorVideo, autoFocus, whiteBalance, cameraId
* Removed deprecated properties: torchMode
* Expanded Type constant (front/back) to include other Windows types (Unknown, Top, Bottom, Left, Right)
ReactNativeCamperaCPP RNCamera module:
* Cleaned up async error handling:
* Uncaught exceptions no longer crash the app, instead returning the error via the promise reject as expected
* Passed in options and promises are now properly captured so as to not get deleted before async operations are completed
* Fixed issue when passed in option values are doubles instead of integers
* Moved all possible processing off of the UI thread
* Fixed device enumeration by id/type to support non-integrated cameras
* Piped out CaptureTarget constants for "target" option (memory, disk, cameraRoll, temp)
* Added BarCodeType constant stubs
* Added FaceDetection constants stubs
* Added VideoCodec constants for "codec" option (H264, HEVC, WMV)
* takePicture:
* Added options: target, quality, doNotSave, base64, width, mirrorImage, exif, writeExif
* Added result properties: width, height, base64, exif
* Fixed issue where EXIF data was being stripped from photos
* record:
* Added options: target, mute, quality, maxDuration, videoBitrate, codec
* Added result properties: codec
* stopRecording: Added implementation
* isRecording: Added implementation
* pausePreview: Added implementation
* resumePreview: Added implementation
* getCameraIds: Added implementation
2020-07-17 11:59:20 -03:00
dependabot[bot]
d62da5f092
chore(deps): bump lodash from 4.17.14 to 4.17.19 in /website ( #2901 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.14 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 08:38:47 -03:00
semantic-release-bot
a1ba2252b2
chore(release): 3.31.1 [skip ci]
...
## [3.31.1](https://github.com/react-native-community/react-native-camera/compare/v3.31.0...v3.31.1 ) (2020-07-13)
### Bug Fixes
* Fix (iOS) Fixed RNCameraManager.m ([#2895 ](https://github.com/react-native-community/react-native-camera/issues/2895 )) ([7c796bf ](https://github.com/react-native-community/react-native-camera/commit/7c796bf ))
2020-07-13 11:26:29 +00:00
Marcel Lasaj
7c796bf0fd
fix: Fix (iOS) Fixed RNCameraManager.m ( #2895 )
...
- Camera Manager now also asks for permission when the description texts for camera and audio permission are localized
2020-07-13 08:25:03 -03:00
dependabot[bot]
bd4a7014a9
chore(deps): bump npm from 6.13.4 to 6.14.6 ( #2891 )
...
Bumps [npm](https://github.com/npm/cli ) from 6.13.4 to 6.14.6.
- [Release notes](https://github.com/npm/cli/releases )
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md )
- [Commits](https://github.com/npm/cli/compare/v6.13.4...v6.14.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-07 18:30:20 -03:00
semantic-release-bot
e1462ea169
chore(release): 3.31.0 [skip ci]
...
# [3.31.0](https://github.com/react-native-community/react-native-camera/compare/v3.30.0...v3.31.0 ) (2020-06-30)
### Features
* **ios:** Remove artificial throttling of barcode scanning ([#2884 ](https://github.com/react-native-community/react-native-camera/issues/2884 )) ([9675813 ](https://github.com/react-native-community/react-native-camera/commit/9675813 ))
2020-06-30 13:58:08 +00:00
Manish Kumar
9675813b7f
feat(ios): Remove artificial throttling of barcode scanning ( #2884 )
2020-06-30 10:55:38 -03:00
semantic-release-bot
7706ccbea7
chore(release): 3.30.0 [skip ci]
...
# [3.30.0](https://github.com/react-native-community/react-native-camera/compare/v3.29.0...v3.30.0 ) (2020-06-10)
### Features
* **ios:** enhanced advanced example project ([134173f ](https://github.com/react-native-community/react-native-camera/commit/134173f )), closes [#2774 ](https://github.com/react-native-community/react-native-camera/issues/2774 )
2020-06-10 21:41:15 +00:00
Renato Benkendorf
b738f41a7e
Merge pull request #2865 from rfischer/feat/advanced-example-whitebalance
...
Enhanced advanced example project
2020-06-10 18:39:30 -03:00
Mateus Andrade
0c78f0341d
docs: Merge pull request #2868 from luism3861/fix-scroll-links-api-page
...
fix scroll links in API Docs website
2020-06-10 15:00:06 -03:00
luism3861
6f433267d6
fix scroll links Api page in website docs
2020-06-10 12:44:42 -05:00
René Fischer
e11918ccf7
refactor: removed duplicated check for custom white balance
2020-06-10 09:26:01 +02:00
René Fischer
bb774ead9b
Update examples/advanced/advanced/src/screens/Camera.js
...
Co-authored-by: Renato Benkendorf <51369951+renatobenks@users.noreply.github.com>
2020-06-10 09:15:15 +02:00