Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with chrome mobile android i get "Worker error" #11

Closed
fdamore-xnoova opened this issue Aug 9, 2018 · 4 comments
Closed

problem with chrome mobile android i get "Worker error" #11

fdamore-xnoova opened this issue Aug 9, 2018 · 4 comments

Comments

@fdamore-xnoova
Copy link

if i scan a qrcode from file with the demo using chrome with an android mobile i get "Worker error" instead of the qrcode value. It works fine with Chrome Desktop MacOs

@ezedonovan
Copy link

ezedonovan commented Oct 29, 2018

I had to modify the 'qr-scanner.js' file. Go to the bottom and change the location of
QrScanner.WORKER_PATH = './qr-scanner-worker.min.js';
to the correct location of the worker file.

@danimoh
Copy link
Member

danimoh commented Feb 8, 2019

Hello,
This is now documented in the readme.
Sorry for the confusion.

@danimoh danimoh closed this as completed Feb 8, 2019
@abidhkm
Copy link

abidhkm commented Feb 25, 2019

I am getting the same error even if I modified the qr-scanner.min.js
should i use qr-scanner.min.js or qr-scanner.js ? in both i'm getting error

@danimoh
Copy link
Member

danimoh commented Feb 4, 2022

For anyone struggling with this:
The api has been simplified now.
Specifying the WORKER_PATH is not required anymore in the newest release, have a look at the readme :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants