Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit d3e0034

Browse files
MLKIT Barcode scanning no beep on scan #1174
1 parent a4509da commit d3e0034

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

demo-ng/app/tabs/mlkit/barcodescanning/barcodescanning.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
width="100%"
88
height="100%"
99
formats="QR_CODE, UPC_A, EAN_13"
10+
beepOnScan="true"
1011
android:processEveryNthFrame="5"
1112
ios:processEveryNthFrame="10"
1213
[torchOn]="torchOn"

docs/ML_KIT.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ registerElement("MLKitBarcodeScanner", () => require("nativescript-plugin-fireba
298298
<MLKitBarcodeScanner
299299
width="260"
300300
height="380"
301+
beepOnScan="true"
301302
formats="QR_CODE, EAN_8, EAN_13"
302303
preferFrontCamera="false"
303304
[torchOn]="torchOn"
@@ -308,6 +309,8 @@ registerElement("MLKitBarcodeScanner", () => require("nativescript-plugin-fireba
308309
Note that `formats` is optional but recommended for better recognition performance. Supported types:
309310
`CODE_128`, `CODE_39`, `CODE_93`, `CODABAR`, `DATA_MATRIX`, `EAN_13`, `EAN_8`, `ITF`, `QR_CODE`, `UPC_A`, `UPC_E`, `PDF417`, `AZTEC`.
310311
312+
Also note that `beepOnScan` is optional and (since version 8.1.0) default `true`.
313+
311314
### Image labeling
312315
<img src="https://raw.githubusercontent.com/EddyVerbruggen/nativescript-plugin-firebase/master/docs/images/features/mlkit_text_image_labeling.png" height="153px" alt="ML Kit - Image labeling"/>
313316

0 commit comments

Comments
 (0)