Skip to content

Commit 010ff7b

Browse files
authored
chore: add mising code types to barcode scanner (#395)
2 parents 26da0c8 + 7fcbd00 commit 010ff7b

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

packages/pluggableWidgets/barcode-scanner-native/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
- We expanded the barcode-scanner configuration in Vision Camera to support all available `CodeType` formats, including QR, Aztec, Data Matrix, PDF-417, EAN, UPC, GS1 DataBar, ITF, and Code barcodes.
10+
911
## [4.2.1] - 2025-12-11
1012

1113
### Fixed

packages/pluggableWidgets/barcode-scanner-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "barcode-scanner-native",
33
"widgetName": "BarcodeScanner",
4-
"version": "4.2.1",
4+
"version": "4.2.2",
55
"license": "Apache-2.0",
66
"repository": {
77
"type": "git",

packages/pluggableWidgets/barcode-scanner-native/src/BarcodeScanner.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,19 @@ export function BarcodeScanner(props: Props): ReactElement {
4747
);
4848

4949
const codeScanner = useCodeScanner({
50-
codeTypes: ["ean-13", "qr", "aztec", "codabar", "code-128", "data-matrix"],
50+
codeTypes: [
51+
"qr",
52+
"aztec",
53+
"codabar",
54+
"code-39",
55+
"code-93",
56+
"code-128",
57+
"data-matrix",
58+
"ean-13",
59+
"ean-8",
60+
"upc-a",
61+
"upc-e"
62+
],
5163
onCodeScanned
5264
});
5365

packages/pluggableWidgets/barcode-scanner-native/src/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<package xmlns="http://www.mendix.com/package/1.0/">
3-
<clientModule name="BarcodeScanner" version="4.2.1" xmlns="http://www.mendix.com/clientModule/1.0/">
3+
<clientModule name="BarcodeScanner" version="4.2.2" xmlns="http://www.mendix.com/clientModule/1.0/">
44
<widgetFiles>
55
<widgetFile path="BarcodeScanner.xml" />
66
</widgetFiles>

0 commit comments

Comments
 (0)