You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
@@ -27,7 +67,7 @@ export class MLKitBarcodeScanner extends MLKitBarcodeScannerBase {
27
67
barcodes: []
28
68
};
29
69
30
-
if(barcodes){
70
+
if(barcodes&&barcodes.size()>0){
31
71
// see https://github.com/firebase/quickstart-android/blob/0f4c86877fc5f771cac95797dffa8bd026dd9dc7/mlkit/app/src/main/java/com/google/firebase/samples/apps/mlkit/textrecognition/TextRecognitionProcessor.java#L62
32
72
for(leti=0;i<barcodes.size();i++){
33
73
constbarcode=barcodes.get(i);
@@ -38,6 +78,10 @@ export class MLKitBarcodeScanner extends MLKitBarcodeScannerBase {
0 commit comments