rodgomesc / vision-camera-code-scanner

VisionCamera Frame Processor Plugin to read barcodes using MLKit Vision QrCode Scanning
MIT License
335 stars 221 forks source link

Build problem on Android #74

Open rochfeu opened 2 years ago

rochfeu commented 2 years ago

The lib works great on iOS. However, I encountered a problem using it on Android. When, scanning a barcode, I stumbled on this error:

[Error] Frame Processor threw an error: Exception in HostFunction: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/mlkit/vision/barcode/BarcodeScanner;

I followed @alexstanbury alexstanbury advice and it solved the problem https://github.com/alexstanbury/vision-camera-code-scanner/commit/727268d44d2eb529e772fd8cf04e8ff98c02971f

Do you think it's a good fix ? And do you think you can merge it in this repo ?

rochfeu commented 2 years ago

Hello. I know it's an open source projet and I don't want to be rude. However is the project still "active" ? @rodgomesc Or do you advise me to fork it to implement @alexstanbury change in order to have a working package ? Best.