0

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?

  • Possible duplicate of [Can I use library that used android support with Androidx projects.](https://stackoverflow.com/questions/52033810/can-i-use-library-that-used-android-support-with-androidx-projects) – denvercoder9 Sep 19 '19 at 12:30

1 Answers1

1

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.

Daniel
  • 2,320
  • 1
  • 14
  • 27