Commit Graph

154 Commits

Author SHA1 Message Date
Seph Soliman
dc10c8a8fa Added UI rotation example code 2023-07-19 10:28:51 -07:00
Seph Soliman
21f713d62d Added new camera flip icon
Added a customizable capture button in example
2023-07-19 09:55:00 -07:00
Seph Soliman
3253daa6c3 Changed and normalized default zoom to be 1.0x (thx @DavidBertet) 2023-07-18 21:03:14 -07:00
Seph Soliman
e129096208 Fixed zoom prop not working when cameraType is switched
(must explicitly be reset using zoom={0} if that is wanted)
Fixed non-unique queue name
2023-07-16 23:30:18 -07:00
Seph Soliman
91c57f0ded Fixed uncontrolled zoom not working on the barcode scanner 2023-07-14 16:54:21 -07:00
Seph Soliman
e6688a2c69 Added zoom control on Android 2023-07-13 18:09:21 -07:00
Seph Soliman
f58bc77ef1 Added zoom control
Added max zoom control
Added onZoom handler
2023-07-12 18:12:33 -07:00
Seph Soliman
478a68b23e Fixed scan frame dimensions on Android 2023-07-10 12:18:35 -07:00
David Bertet
5f1096230c Rework UI to make it work on both platforms 2023-07-08 01:30:02 -07:00
David Bertet
d738b6c8d2 Using hooks/functional component for App 2023-07-04 12:43:32 -07:00
David Bertet
d92b40b202 Make button targets bigger by adding some padding 2023-07-04 01:40:17 -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
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
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
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
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]
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]
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]
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
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
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]
b468847922
Bump ansi-regex from 3.0.0 to 3.0.1 in /example (#453)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  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:09:42 -07:00
dependabot[bot]
31c3667ab1
Bump plist from 3.0.1 to 3.0.5 in /example (#454)
Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.1 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)

---
updated-dependencies:
- dependency-name: plist
  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:08:24 -07:00
dependabot[bot]
50b9006cd4
Bump minimist from 1.2.5 to 1.2.6 in /example (#451)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  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:07:13 -07:00
Chris Savvopoulos
c61c0f0200
Upgrade dependencies to latest stable; show square on tap-to-focus (#442) 2022-01-21 11:45:25 -08:00
Seph Soliman
a1321e967f
Merge branch 'master' into r/12.0.0 2021-12-14 13:07:02 -08:00
Seph Soliman
f2482028b8
Merge pull request #420 from teslamotors/dependabot/npm_and_yarn/example/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7 in /example
2021-12-14 12:58:59 -08:00
dependabot[bot]
c66b17b409
Bump tmpl from 1.0.4 to 1.0.5 in /example
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 03:03:30 +00:00
dependabot[bot]
ecdf31e034
Bump path-parse from 1.0.6 to 1.0.7 in /example
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 22:06:23 +00:00
aarongrider
0083a6889a Add build script and begin fixing build errors 2021-05-27 08:59:49 -07:00
aarongrider
3c870bcdc5 Add docs for Android Kotlin support 2021-02-25 10:07:48 -08:00
Aaron Grider
540f9a2f4c
Merge pull request #370 from EwoutH/gradle
example/android: Update Gradle to 6.8.3
2021-02-24 17:21:32 -08:00
aarongrider
2c79c02927 Update podfile version 2021-02-24 09:27:49 -08:00
Ewout ter Hoeven
42c0b23b11
example/android: Update Gradle to 6.8.3 2021-02-24 12:02:46 +01:00
aarongrider
5c3341d228 minWidth and minHeight for camera component 2021-02-04 16:44:00 -08:00
aarongrider
75edaf08c6 Default Camera to flex of 1 2021-02-04 15:55:47 -08:00
aarongrider
95781c9be2 Fix color props and update api 2021-01-11 11:16:40 -08:00
aarongrider
b909d01dfc Add torch mode 2021-01-09 13:12:53 -08:00
aarongrider
acd1a6c347 Fix Android barcode scanning 2021-01-08 18:08:29 -08:00
aarongrider
41f915d42f Refactor camera screen and fix bugs 2021-01-07 23:05:06 -08:00
aarongrider
dd597249c2 Add prop to show capture count 2021-01-05 16:38:30 -08:00
aarongrider
f478d28246 Upgrade to React Native 0.63 2021-01-05 09:08:54 -08:00
aarongrider
c3b62afba7 iOS: Update api 2021-01-04 14:45:03 -08:00