angular-qr-scanner icon indicating copy to clipboard operation
angular-qr-scanner copied to clipboard

Issues on Android

Open maxcbc opened this issue 9 years ago • 2 comments

Hey,

I'm having issues on chrome on Android with this qr code scanner, have tried it on Android 4.4 on a Samsung tab 10.1 and on 5.1 on a Moto G, no joy.

When you give access to the camera on the device, the reader takes a still shot and freezes on that first frame, it then passes that first shot through the qr code reader every time (every $interval). I've tried putting a qr code infront of the device camera for that first frame and it works ok, is detecting the code. It does it every interval.

I've tried this with the html5 scanner you have angularfied, and i get the same issue, so its nothing you have done. Just thought i'd give you the heads up

maxcbc avatar Jul 01 '15 07:07 maxcbc

GOOD NEWS

solved the issue,

just add the following line in your qrscanner.js

video.setAttribute('autoplay','');

maxcbc avatar Jul 01 '15 09:07 maxcbc

thnks for this!

rubenswebdev avatar Oct 08 '15 13:10 rubenswebdev