How to Scan QR Code

Is there any recommended plugin to scan/read QR Code in cordova?
I tried to user cordova-plugin-qrscanner but It didn’t work, There are some error when I build the code.

Please help.
Thank you.

I’m using this in one of mine project: mebjas/html5-qrcode: A cross platform HTML5 QR code reader. See end to end implementation at: ( it works very well.

It works via browser and with cordova Android/iOS

1 Like

download “Android Code Play” you can see some examples and tests there so many plugins for cordova. it works perfectly with framework7

html5-qrcode works on ios >=15.1

About 30% of iphone use ios 14, so i don’t recommend it

cordova-plugin-qrscanner will works on cordova10. But you will meet ios complie error.

That error can be resolved by slightly modifying the code of the swift file.

I’ve tried many other plugins, but this is what I’m currently using. Android, ios succeeded in reading the qr code.

I wish you good results.

All problems in ios and android have been solved by using cordova-plugin-qrscanner-androidx