Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
✨ [android] add support for different kinds of barcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
tafelnl committed Oct 28, 2020
1 parent c786a69 commit 849d5cd
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ private void setupCamera() {
// Create BarcodeView
mBarcodeView = new BarcodeView(getActivity());

// Configure the decoder
ArrayList<BarcodeFormat> formatList = new ArrayList<BarcodeFormat>();
formatList.add(BarcodeFormat.QR_CODE);
mBarcodeView.setDecoderFactory(new DefaultDecoderFactory(formatList));

// Configure the camera (front/back)
CameraSettings settings = new CameraSettings();
settings.setRequestedCameraId(currentCameraId);
Expand Down

0 comments on commit 849d5cd

Please sign in to comment.