Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90cf77f3 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Update zxing-cpp android for x86_64 support

parent 230b733b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ dependencies {

    implementation 'androidx.camera:camera-core:1.2.3'
    implementation 'com.google.zxing:core:3.5.3'
    implementation 'io.github.zxing-cpp:android:2.2.0'
    implementation 'io.github.zxing-cpp:android:2.3.0'

    testImplementation 'junit:junit:4.13.2'

+2 −0
Original line number Diff line number Diff line
@@ -166,7 +166,9 @@ class QrImageAnalyzer(private val activity: Activity, private val scope: Corouti
                            BarcodeReader.Format.CODE_128 -> BarcodeFormat.CODE_128
                            BarcodeReader.Format.DATA_BAR -> null
                            BarcodeReader.Format.DATA_BAR_EXPANDED -> null
                            BarcodeReader.Format.DATA_BAR_LIMITED -> null
                            BarcodeReader.Format.DATA_MATRIX -> BarcodeFormat.DATA_MATRIX
                            BarcodeReader.Format.DX_FILM_EDGE -> null
                            BarcodeReader.Format.EAN_8 -> BarcodeFormat.EAN_8
                            BarcodeReader.Format.EAN_13 -> BarcodeFormat.EAN_13
                            BarcodeReader.Format.ITF -> BarcodeFormat.ITF