julienboulay/ngx-barcode-scanner

Support for Code 32 Bar Code

Opened this issue · 0 comments

Quagga2 have support for Code 32 Bar Code Reading, Can you please add the support for code_32 in ngx-barcode-scanner also ?

I Tried to give type as code_32 but returned the following error :

main.ts:6 ERROR Error: Uncaught (in promise): Error: This barcode type 'code_32' is not valid.
Error: This barcode type 'code_32' is not valid.
at checkBarCodeType (ngx-barcode-scanner.mjs:62:15)
at mapToReader (ngx-barcode-scanner.mjs:50:9)
at ngx-barcode-scanner.mjs:132:53
at new ZoneAwarePromise (zone.js:1432:21)
at BarcodeScannerLivestreamComponent._init (ngx-barcode-scanner.mjs:126:16)
at ngx-barcode-scanner.mjs:155:24
at Generator.next ()
at asyncGeneratorStep (asyncToGenerator.js:3:1)
at _next (asyncToGenerator.js:22:1)
at asyncToGenerator.js:27:1
at resolvePromise (zone.js:1214:31)
at zone.js:1121:17
at zone.js:1137:33
at asyncGeneratorStep (asyncToGenerator.js:6:1)
at _throw (asyncToGenerator.js:25:1)
at _ZoneDelegate.invoke (zone.js:375:26)
at Object.onInvoke (core.mjs:24210:33)
at _ZoneDelegate.invoke (zone.js:374:52)
at Zone.run (zone.js:134:43)
at zone.js:1278:36