diff --git a/android/src/main/java/com/dutchconcepts/capacitor/barcodescanner/BarcodeScanner.java b/android/src/main/java/com/dutchconcepts/capacitor/barcodescanner/BarcodeScanner.java index 7448655..8a6f482 100644 --- a/android/src/main/java/com/dutchconcepts/capacitor/barcodescanner/BarcodeScanner.java +++ b/android/src/main/java/com/dutchconcepts/capacitor/barcodescanner/BarcodeScanner.java @@ -54,11 +54,6 @@ private void setupCamera() { // Create BarcodeView mBarcodeView = new BarcodeView(getActivity()); - // Configure the decoder - ArrayList formatList = new ArrayList(); - formatList.add(BarcodeFormat.QR_CODE); - mBarcodeView.setDecoderFactory(new DefaultDecoderFactory(formatList)); - // Configure the camera (front/back) CameraSettings settings = new CameraSettings(); settings.setRequestedCameraId(currentCameraId);