-
Notifications
You must be signed in to change notification settings - Fork 16
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
Web example does not work #15
Comments
@ihmpavel do you have found a solution for this? I have the same problem |
@mburger81 Hi, I did not find a solution. After looking into the source code I believe it never worked. I wanted to make a PR, but did not have a time to make changes to the code |
I have a problem that how to open the web of project?
|
@akira32 You have to be in the |
Thank you.I run the command of "npm run dev" under example-app directory, but it appears the error: % npm run dev
sh: vite: command not found |
I had solved this problem by the command of "npm install -g vite". But I meet another problem when I execute the command of "npm run dev" as below:
|
I also had solved this problem of "npx run dev" by using sudo to npm install and barcoae scanner. |
@ihmpavel I have the same issue on web on desktop Chrome and iOS Safari. "@capacitor/barcode-scanner": "1.0.1" Native Android and iOS work as expected. |
Hi, |
Starting
example-app
application does not work as expected on the web. After starting and clicking onScan
(after permission grant) a camera shows a preview and immediately throws an error to console[Scanner Web Error] QR code parse error, error = No barcode or QR code detected.
There is no way to scan, until matching specific QR code, or to control behavior.
If the QR code is not found or is found, the UI with preview is immediately closed.
Screen.Recording.2024-06-12.at.23.21.21.mov
The text was updated successfully, but these errors were encountered: