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
Pause and Resume not working as intented #736
Comments
I've the same problem. I can't stop reading with the camera. I add in the success the html5QrcodeScanner.clear() but anything happened.
Anyone knows how to fix this? |
I ran into a similar issue today after following a tutorial on YouTube. It turned out to be my own mistake. I am playing around with this barcode scanner in Angular. Long story short, my callback The issue was was this line of code: which should have been: Alternatively, I could've used an arrow function: Here is my full class for reference:
Hope that helps someone. |
Describe the bug
A clear and concise description of what the bug is.
Pause and Resume dont work as intented. Pause should stop scanning without closing the camera, and resume ,should start accepting scanning again. I notice that after pause, the state is set to
PAUSED
, and after theresume()
method. I have to restart by usingstop()
first and thenstart()
to be able to scan again.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
pause()
expected behaviour would be stop PAUSE scanning. RESUME, should resume scanningScreenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: