qr_code_tools
qr_code_tools copied to clipboard
Android error
I found a problem in version 0.1.0
andoird gradle plugin version error
I found a problem in version 0.1.0
andoird gradle plugin version error
- What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':qr_code_tools' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31
same error
Hi @dipu-polygontech , even i am also facing the same issue if you find the solution share it here.
Hi @dipu-polygontech , even i am also facing the same issue if you find the solution share it here.
nah, i have change packages, Now using mobile_scanner 5.1.1, analyzeImage function.
MobileScannerController _controller = MobileScannerController();
Future<String?> _scanQrCodeFromImage(File image) async {
final barcodeFinder = await _controller.analyzeImage(image.path);
if (barcodeFinder != null && barcodeFinder.barcodes.isNotEmpty) {
return barcodeFinder.barcodes.first.rawValue;
}
return null;
}
Facing the same issue.
