instascan icon indicating copy to clipboard operation
instascan copied to clipboard

Cam isn't working on certain android browsers since a few days

Open ArthurReinhart opened this issue 5 years ago • 9 comments

I have a qr reader web app, it was working fine on all browsers, but it seems after a recent update has stopped working.

The demo and my app are still working on edge and opera, but in phone browser, chrome and firefox it doesn't show any image, but a notification says chrome / firefox are capturing video

ArthurReinhart avatar Dec 11 '18 08:12 ArthurReinhart

For solution look at Thread #171 "Invalid asm.js: Type mismatch in assignment [instascan.min.js]:18"

HerbertDobernig avatar Dec 11 '18 10:12 HerbertDobernig

Solution of Thread #171 still works after update to Chrom 71.0.3578.98

HerbertDobernig avatar Dec 13 '18 18:12 HerbertDobernig

I tried that solution, but still having the same problem, no errors are thrown at all, just there is no image and the phone notification still saying the camera is being usied by chrome / firefox, edge and opera still working fine

ArthurReinhart avatar Dec 17 '18 09:12 ArthurReinhart

im also getting that problem. I compiled with gulp release and still same, didnt works on brave or last chrome

canihojr avatar Dec 17 '18 23:12 canihojr

Same issue, "Accessing video input" yet no video. Kindly help.

nerdy-plutonian avatar Dec 19 '18 08:12 nerdy-plutonian

Actually it doesn't work at all in any mobile browser i tested so far

Since this project is abandoned, does someone know any fork currently working or some working alternative?

ArthurReinhart avatar Apr 02 '19 10:04 ArthurReinhart

@ArthurReinhart Permission by the browser? it might only work on https

akbarnotopb avatar Apr 14 '19 12:04 akbarnotopb

I have the same issue on many android devices, after searching a couple of days for a good replacement library for scanning QRcode on mobile browser in pure Javascript i found ZXing library and i use it instead and its pretty good. You can find an example here : https://www.codepool.biz/html5-barcode-reader-javascript-webassembly.html.

Meriemi-git avatar Apr 17 '19 15:04 Meriemi-git

I have the same issue,I change the libary by ZXing. This function well.

emmanuelchaconlopez avatar Jul 09 '20 02:07 emmanuelchaconlopez