Scanner failing to restart
See original GitHub issueDescribe the bug
After successfully scanning, navigating away and then back to scanner page it fails to open on some devices. It throws the error NotReadableError NotReadableError: Could not start video source
.
And then
Error: Uncaught (in promise): Error: No scanning is running at the time.
Error: No scanning is running at the time.
at O.getScannerControls (https://cenyth.events/12-es2015.2dbdf0a52407038865e6.js:1:665378)
at t.scanStop (https://cenyth.events/12-es...
The only way to make it work again is to reload the page through the browser.
Expected behavior Scanner should restart successfully after reopening the scanner page and not require a refresh.
Smartphone (please complete the following information):
- Device: Amazon Kindle
- OS: Android 5.1.1
- Browser: Amazon Silk 8.9.27
- Version v3.1.3
Additional context Angular: 11.2.11 @zxing/browser: 0.0.7 @zxing/library: ^0.18.3 @zxing/ngx-scanner: ^3.1.3
As far as I know this didn’t happen a few versions ago with Angular 10
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:19 (1 by maintainers)
Top Results From Across the Web
How to Fix Scanner Not Working in Windows 10 - Driver Easy
1) Hold Down Windows logo and press R key. A Run dialog box will pop up. · 2) Type services.msc in the run...
Read more >Tips For Rebooting the Scanner When Problem Arise
If you encounter a console crash or other unrecoverable error in the software that runs on the console, your only alternative may be...
Read more >Solved: Scan to Computer Unavailable after sleep or restart
Open the HP Printer assistant on the PC, go to Scan > Scan to computer > Enable. Try scanning. If the issue persists,....
Read more >How to Fix Your Scanner When It's Not Working on Windows 11
1. Restart the Windows Image Acquisition Service · 2. Run the Hardware and Devices Troubleshooter · 3. Update Your Scanner's Drivers · 4....
Read more >Fix Scanning and Repairing Drive Stuck - Tenorshare 4DDiG
Fix 1: Check the Drive Status · Fix 2: Use Windows Error Checking Tool · Fix 3: Wait for the Completion of Scanning...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So I was hoping 3.2.0 would fix the issue which is obviously not the case… Thanks for the information, I’ll see what I can do… PRs much appreciated!
Happening on my end as well. There’s a PR already in place, any chance to get a new build anytime soon?