Hello, we would like to integrate a QR code scanner into one of our applications. This application should not be a native app, but a web app. For this reason we get the error message: “Cordova Barcode-Scanner Plugin is not defined! Could not resolve ‘cordova.plugins.barcodeScanner’.”. How can we solve the problem so that users can run the application from the browser to scan a QR code?
the nativ QR-Code feature is only for mobile devices, if you want to decode the QR-Code in your Web Application, you’re going to need a external library (you can try this one https://github.com/LazarSoft/jsqrcode) for it.
Afterwards you can build a videostream to scan the QR-Code or you can upload the QR-Code as image and decode it with your chosen library.
Thank you for your prompt reply! We have now solved it with another external library (https://github.com/cozmo/jsQR). We use both the video stream and the upload function.