mhadaily / ngx-barcode-validator

Angular6 Barcode scanner using RxJS and Media Stream API.
https://www.majidhajian.com/ngx-barcode-validator
MIT License
25 stars 22 forks source link

Reads barcode only once #5

Closed sebscape closed 6 years ago

sebscape commented 6 years ago

(Thank you for this library)

I am attempting to integrate your code into my own application. I am facing an issue which I have reproduced on your demo page:

  1. hold up barcode-1 to camera -> Success: beeps; my code is displayed with error that it could not be found (as I believe is expected)
  2. hold up barcode-2 to camera -> Fail: framer finds barcode; no beep, no updates.
  3. hold up barcode-1 to camera -> Fail: framer finds barcode; no beep, no updates.

Does something need to get reset after each read?

mhadaily commented 6 years ago

Hi, Just upgraded to angular 5 and updated all deps, should be fine now.

Thanks,