David Bertet
13aed7196f
Refine orientation
...
Make initializeMotionManager private
Use extensions for conversions
Handle accelerometer updates on background thread
Use UIDeviceOrientation for deviceOrientation
Converting UIDeviceOrientation to Interface/VideoOrientation counter-rotate it
2023-07-04 15:17:34 -07:00
David Bertet
d738b6c8d2
Using hooks/functional component for App
2023-07-04 12:43:32 -07:00
David Bertet
6c7e0fe500
Fix default zoomFactor when we switch camera
2023-07-04 01:57:54 -07:00
David Bertet
d92b40b202
Make button targets bigger by adding some padding
2023-07-04 01:40:17 -07:00
David Bertet
8b346669de
Small refinements
...
Remove cameraType from the class, use local variable only to avoid unwanted side effects
Move thumbnail creation into delegate, to be consistent and return only data
Make `counterRotatedCaptureVideoOrientationFrom` private
Refactor slightly `update(pinchVelocity`
Remove `setTorchMode`, add `scanThrottleDelay` from React types
2023-07-04 01:35:25 -07:00
Seph Soliman
fee756b55c
Fixed orientation issues for both orientation locked and rotated UIs
...
Added support for thumbnails (for later)
Fixed default zoom to be wide angle camera instead of ultra wide
2023-07-03 20:21:20 -07:00
Seph Soliman
37737ace6f
Rewrote example project
...
Using hooks/functional components
Fixed zoom on second pinch
Fixed orientation issues
Added support for new ultra wide camera (fix blurry close ups)
2023-07-03 20:21:11 -07:00
Seph Soliman
5a7df3ee80
Removed CameraScreen
2023-07-03 20:21:01 -07:00
David Bertet
01c23678a3
Remove unused protocol
2023-06-30 01:18:01 -07:00
David Bertet
a23aa47fa7
Remove prints & signpost
2023-06-30 00:29:36 -07:00
David Bertet
d730a76051
Fix small issues, throttle scanner
2023-06-30 00:24:37 -07:00
David Bertet
baf3e11feb
Fix Git Action iOS build
2023-06-27 21:53:36 -07:00
David Bertet
bdbfac1f33
Swift migration & rewrite
2023-06-27 21:21:18 -07:00
David Bertet
9342a1d2d9
Lay the foundation for a Swift migration
2023-06-11 19:01:23 -07:00
Seph Soliman
9127612887
Merge pull request #549 from teslamotors/dependabot/npm_and_yarn/example/fast-xml-parser-4.2.4
...
Bump fast-xml-parser from 4.2.2 to 4.2.4 in /example
2023-06-11 17:58:34 -07:00
Seph Soliman
815730ed94
Merge pull request #548 from DavidBertet/task/fix_png_ios_simulator
...
Fix #517 . iOS simulator pictures are PNG instead of JPEG
2023-06-11 17:53:23 -07:00
Seph Soliman
8e7b1dae47
Merge pull request #545 from DavidBertet/task/improve_type_definition
...
Improve type definition & README
2023-06-11 17:49:44 -07:00
dependabot[bot]
be1efbedb0
Bump fast-xml-parser from 4.2.2 to 4.2.4 in /example
...
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser ) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases )
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/4.2.2...v4.2.4 )
---
updated-dependencies:
- dependency-name: fast-xml-parser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 00:30:44 +00:00
Seph Soliman
c952ab7c9a
Merge pull request #544 from DavidBertet/task/update_example
...
Update example to react native ^0.71.0
2023-06-11 17:30:18 -07:00
David Bertet
b39b2fa3d5
Fix #517 . iOS sim pictures are PNG instead of JPEG
2023-06-05 21:22:57 -07:00
David Bertet
2c73e840b0
Forward/Use Camera props if sent to CameraScreen
2023-06-02 03:08:21 -07:00
David Bertet
8cd7648b41
Update example to react native ^0.71.0
2023-06-02 02:10:55 -07:00
David Bertet
05c8f1862c
Improve type definition
2023-06-02 02:08:14 -07:00
Seph Soliman
85d7e1ad03
v14.0.0-beta3
2023-05-23 09:42:15 -07:00
Patrick Kabwe
e01d4aa834
chore: add types ( #505 )
2023-05-22 13:28:42 -07:00
dependabot[bot]
90b8b733d8
Bump simple-plist from 1.1.1 to 1.3.1 in /example ( #468 )
...
Bumps [simple-plist](https://github.com/wollardj/simple-plist ) from 1.1.1 to 1.3.1.
- [Release notes](https://github.com/wollardj/simple-plist/releases )
- [Commits](https://github.com/wollardj/simple-plist/compare/v1.1.1...v1.3.1 )
---
updated-dependencies:
- dependency-name: simple-plist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:26:28 -07:00
dependabot[bot]
3a9b98a1a7
Bump async from 2.6.3 to 2.6.4 in /example ( #467 )
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:26:09 -07:00
dependabot[bot]
221686d39a
Bump async from 2.6.3 to 2.6.4 ( #466 )
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:25:45 -07:00
dependabot[bot]
ff15a25441
Bump simple-plist from 1.1.1 to 1.3.1 ( #469 )
...
Bumps [simple-plist](https://github.com/wollardj/simple-plist ) from 1.1.1 to 1.3.1.
- [Release notes](https://github.com/wollardj/simple-plist/releases )
- [Commits](https://github.com/wollardj/simple-plist/compare/v1.1.1...v1.3.1 )
---
updated-dependencies:
- dependency-name: simple-plist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:25:08 -07:00
dependabot[bot]
eaf3156dc2
Bump json5 from 1.0.1 to 1.0.2 ( #513 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:24:28 -07:00
dependabot[bot]
73770fcda0
Bump decode-uri-component from 0.2.0 to 0.2.2 in /example ( #506 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:24:09 -07:00
dependabot[bot]
2ea3444432
Bump qs from 6.5.2 to 6.5.3 ( #509 )
...
Bumps [qs](https://github.com/ljharb/qs ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases )
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3 )
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:23:40 -07:00
dependabot[bot]
27d269ca6c
Bump decode-uri-component from 0.2.0 to 0.2.2 ( #507 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:23:29 -07:00
dependabot[bot]
471f65af97
Bump minimatch from 3.0.4 to 3.1.2 in /example ( #502 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:23:08 -07:00
dependabot[bot]
d90bf3e738
Bump minimatch from 3.0.4 to 3.1.2 ( #503 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:22:46 -07:00
dependabot[bot]
3642e0dc31
Bump ua-parser-js from 0.7.31 to 0.7.33 in /example ( #520 )
...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js ) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases )
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md )
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33 )
---
updated-dependencies:
- dependency-name: ua-parser-js
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:22:12 -07:00
dependabot[bot]
27b4421cbb
Bump ua-parser-js from 0.7.31 to 0.7.33 ( #521 )
...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js ) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases )
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md )
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33 )
---
updated-dependencies:
- dependency-name: ua-parser-js
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:19:38 -07:00
summer-wu
0fb5003801
fix orientation problem ( #542 )
...
The captured content is not rotated as the device rotate, fixed.
Co-authored-by: Brett Wu (吴 书宇) <shuywu@tesla.com>
2023-05-22 11:32:25 -07:00
Yousra Sdn
6196173463
chore: expose a method to set the torch mode ( #523 )
2023-03-10 19:32:47 -08:00
jorgepalacio
9a8c6fd2ae
Bump metadata-extrator to 2.18.0 version to avoid 2.12.0 vulnerabilities ( #493 )
2022-10-05 15:47:41 -07:00
Seph Soliman
edfa42380f
v13 ( #491 )
...
* Removed saveToCameraRoll & saveToCameraRollWithPhUrl.
Use react-native-cameraroll instead.
Upgraded CameraX to 1.1.0,
Upgraded com.google.mlkit:barcode-scanning to 17.0.2
* v13.0.0
2022-08-29 11:29:07 -07:00
Cássio Seffrin
1de4ed4c2c
issues/464 barcode scanner does not work in some devices ( #465 )
2022-08-07 16:31:48 -07:00
Stefan Berndt
d4e4aa943e
feat: add Interleaved2of5 to supported barcode types on iOS ( #481 )
...
Co-authored-by: Stefan Berndt <stefan.berndt@hornbach.com>
2022-08-07 16:30:47 -07:00
Seph Soliman
5fc9784a55
v12.1.0
2022-04-08 10:46:35 -07:00
Seph Soliman
ce1e83c202
Fixed build issues, defaultProps ( #461 )
2022-04-08 10:43:59 -07:00
Juan Castillo
73b1110f90
Fix iOS crash when permisions denied ( #458 )
...
* Fix iOS crash when permisions denied
2022-04-08 10:30:09 -07:00
Chris Savvopoulos
63443c8eac
package.json should have source path ( #441 )
...
This is required by the example's babel config.
2022-03-29 14:14:00 -07:00
Balaji Kotni
024dc51a65
fix: resolve saveToCameraRoll issue ( #445 )
...
* fix: resolve saveToCameraRoll issue
Prop saveToCameraRoll didn't work because of incorrect prop (!this.props.allowCaptureRetake} being passed. If allowCaptureRetake was passed as true, then a black screen showed up because of the condition this.isCaptureRetakeMode() ? . Requesting @scarlac and @DibyajyotiMishra for the review.
* chore: make saveToCameraRollProp optional and add default value as true
* Update src/CameraScreen.tsx
Co-authored-by: Seph Soliman <seph@seph.dk>
Co-authored-by: DIBYAJYOTI MISHRA <dibyajyotimishra14@gmail.com>
Co-authored-by: Seph Soliman <seph@seph.dk>
2022-03-29 14:12:13 -07:00
dependabot[bot]
9fd4474005
Bump ua-parser-js from 0.7.22 to 0.7.31 in /example ( #443 )
...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js ) from 0.7.22 to 0.7.31.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases )
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.22...0.7.31 )
---
updated-dependencies:
- dependency-name: ua-parser-js
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 14:10:27 -07:00
dependabot[bot]
53d15bb2a2
Bump ua-parser-js from 0.7.22 to 0.7.31 ( #444 )
...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js ) from 0.7.22 to 0.7.31.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases )
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.22...0.7.31 )
---
updated-dependencies:
- dependency-name: ua-parser-js
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 14:10:15 -07:00