Mobile build fails when update android version to 34

Help! I received a notification from the Play Store to update the target API level before August 31st. We updated the app preference to 34 .
App.setPreference(‘android-targetSdkVersion’, ‘34’);
App.setPreference(‘android-minSdkVersion’, ‘22’)
And now we are unable to build the app.
Meteor version: 2.5.3
JDK version: 11.0.14
Gradle version 6.6.1

We found that a cordova package is causing the issue
package name: cordova-plugin-qr-barcode-scanner 8.0.3

Can anyone help to fix the issue.

@aneesh007

Isn’t this the same as in this other issue?

@xet7
Yes,
But now we must find an alternative to the Cordova plugin cordova-plugin-qr-barcode-scanner 8.0.3 as the last date is 31 Aug(android SDK update).