I have a Ionic Stencil PWA starter, I need to add a barcode reader that works on pwa, ios and android native apps build with capacitor.
I’ve tryied Quagga js but don’t work in ios app so I’ve checked for another solution here https://ionicframework.com/docs/native/barcode-scanner
and I’ve followed this tutorial but when I run the pwa with npm run start (or try on real device) gives me this error
"Uncaught TypeError: Cannot read property 'scan' of undefined" .
I don’t undertand why…
someone has advices about a working barcode scanner for pwa, ios and android app?