Comments (5)
I have the same error. Have you found the solution yet?
from ngx-scanner-qrcode.
Unfortunately, I have not found it yet.
from ngx-scanner-qrcode.
Hi, sorry about my English, I'm using a translator.
Apparently I managed to solve the problem in my code. I was calling action.start() after another action.start().
I have a method that is called when it manages to read the barcode and sends this code to the api, as soon as this method is called I execute action.stop(), so as not to read the barcode more than once.
When this method finds the item of this barcode in the database, it returns the id and the UI routes to the details screen, when it doesn't find the item, the api returns an error message and the UI has to release the camera for a new query.
My error was calling action.start() at the end of this method even though it found the item and routed to the details screen, so when I went back to the reader screen and tried to read other code it gave this error message, basically because I was calling action.start() after another action.start().
What I did was to call action.start() at the end of the method only if it returned an error at the endpoint and the user had to read the code again.
Is that clear?
from ngx-scanner-qrcode.
@GulharaKam Please give me a video demonstrating this bug.
from ngx-scanner-qrcode.
@Malump Please reproduce this error on your stackblitz. And provide me details about the above error generating steps.
from ngx-scanner-qrcode.
Related Issues (20)
- Does not work with small QR codes HOT 2
- Auto focus/zoom / high resolution does not work HOT 3
- Facing problem for switching the back-camera HOT 2
- Permission Camera Smartphone
- CSS documentation HOT 4
- ERROR TypeError: Cannot read properties of undefined (reading 'getUserMedia') HOT 2
- Can this implemented on Ionic Capacitor ? HOT 4
- Web app HOT 1
- Problem into nodemodules HOT 1
- ngx scanner qrcode (1.6.1) is not working on angular 12. (blank screen is coming) HOT 1
- Camera not working on localhost HOT 1
- Unable to change the default camera HOT 1
- isBeep don`t work HOT 5
- TypeError: Cannot read properties of undefined (reading 'getUserMedia') HOT 1
- Barcode recognition using Macbook webcam doesnt work. HOT 1
- Upgrade to Angular 17 HOT 4
- isBeep does not work HOT 1
- Any plans to support DataMatrix? HOT 1
- NgxScannerQrcodeModule source code (WASM) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-scanner-qrcode.