Hi! our project is using Ionic Framework 5, Angular 12, and Cordova.
We’re currently using this fork: danielzen/cordova-plugin-qrscanner: A fast, energy efficient, highly-configurable QR code scanner for Cordova apps and the browser. (github.com)
We’ve tried migrating the gradle file to the latest version and handle some unexpected exceptions but It didn’t fix the problem.
We can’t downgrade Android version (API Level 30) since PlayStore is requiring API Level 31 for submission.
@classhive - did you find a solution for this? I just upgraded my entire project and the
qrscanner plugin is throwing me errors too. I couldn’t find a fork that was working. The error mine is throwing is:
Script ‘C:\Users\rolin\dev\myApp\platforms\android\cordova-plugin-qrscanner-11\myapp-qrscanner.gradle’ line: 6
- What went wrong:
A problem occurred evaluating script.
Could not find method compile() for arguments [com.journeyapps:zxing-android-embedded:3.3.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.