Open donmb1 opened 3 years ago
Getting same Issue. Does anyone have any workaround?
"cordova-plugin-qrscanner": "^3.0.1" "cordova-android": "^9.0.0"
To solve it, first open the QRScanner.java
file and remove import android.support.v4.app.ActivityCompat
, and add the following:
import androidx.core.app.ActivityCompat;
This issue is duplicated. https://github.com/bitpay/cordova-plugin-qrscanner/issues/319
Ran into the same issue. It would be better if these changes could be merged into the source code so that it is possible to use the "bitpay" dependency and not the prodatakey/cordova-plugin-qrscanner fork, see referenced commit
On cordova build for Android
"cordova-plugin-qrscanner": "^3.0.1" "cordova-android": "^9.0.0"