browser icon indicating copy to clipboard operation
browser copied to clipboard

NotFoundException BrowserPDF417Reader

Open leogaab opened this issue 3 years ago • 0 comments

Hi, I'm working on a React project and I've been struggling trying to make the reader work. I'm uploading a file on an async function and created a new instance of BrowserPDF417Reader, after calling decode method and passing the file as a parameter, it keeps breaking... the console throws this message.

NotFoundException at Function.NotFoundException.getNotFoundInstance

By the way, just for the record I've tried the methods decodeFromImage(), decodeFromImageElement(), decodeFromImageUrl(). The version that I've installed on my package is "@zxing/browser": "^0.1.1", "@zxing/library": "^0.19.1", Also I've tried using other versions, having the same result.

Always the same response, the file is being read as blob.

It would be great if anyone can give me a help or a hint so I can try this new feature. Better if we have more docs to handle this.

leogaab avatar Mar 07 '22 20:03 leogaab