user5668480
user5668480

Reputation:

How to make CameraX continuous scanning for barcode app

I'm looking into the CameraX library, I wonder if it's possible to make it Continuous scanning on barcodes?.

Right now I'm using the

me.dm7.barcodescanner:zxing:1.9.13

this library works fine. But I want to migrate to androidX and it seems not supported at the moment with this lib. any suggestions?

Upvotes: 0

Views: 514

Answers (1)

Daniel
Daniel

Reputation: 2554

You can migrate to androidx and still use your barcode library. What you need to do is enable jetifier in your project, you need to add the following to your gradle.properties:

android.useAndroidX=true

android.enableJetifier=true

You can read more about this here.

Upvotes: 1

Related Questions