Open kamhawy4 opened 2 years ago
It's not working for me either. my issue is: Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0 ionic 5, capacitor, angular, android
I have a fork that hopefully brings this project up to date. Try it out: https://github.com/jacobg/cordova-plugin-qrscanner/tree/modernize
BTW, I don't think Cordova Android in general yet supports Gradle 8. It's not an issue with this particular plugin: https://github.com/apache/cordova-android/blob/master/framework/cdv-gradle-config-defaults.json
After calling QRScanner.scan(displayContents); you have to call directly QRScanner.show();
I was also stuck before calling this method.
I found issues dont never fixed . i dont know if this plugin work or dont? Does this plugin work with anyone? i will write my issue However some people wrote about this error before me. may be anybody help me.
this function wont work QRScanner.scan();
don't display any error but camera won't open
thank you for everyone.
and this is my code
"cordova-android": "^9.1.0"
"cordova-plugin-qrscanner": "^3.0.1",
// html
<button @click="qrPrep();">QR Prepare <button @click="qrScan01();">QR Scan <button @click="qrShow();">QR Show
/// js
` qrPrep: function () {