Another option is to try out a JS QR library and use C3 JS integration to add it to your project.
For example:
github.com/nimiq/qr-scanner
One caution on mobile. Last I checked, iOS (as of 13.2) does not support user-media (web camera) when using webkit (e.g. iOS app or PWA.) The Apple team claims to be 'working on it.'
It should work with Desktop Chrome, Safari on iOS and Android.