inventree / inventree-app

InvenTree mobile app
https://docs.inventree.org/en/latest/app/app/
MIT License
52 stars 46 forks source link

UPC-A barcodes #419

Open SchrodingersGat opened 11 months ago

SchrodingersGat commented 11 months ago

I see that currently in the iOS app I can't scan UPC-A codes, but the same code in code-128 format is scanned fine. Is there an ETA for reading a wider range of barcodes?

Originally posted by @superbeppe98 in https://github.com/inventree/inventree-app/issues/294#issuecomment-1703934642

SchrodingersGat commented 11 months ago

Currently we use the qr_code_scanner library which is now in maintenance mode.

Perhaps there is a more modern library which also supports scanning of UPC-A codes?

superbeppe98 commented 11 months ago

Seems that in qr_code_scanner the iOs version doesn't support the 1D barcodes, but in Android support 1D and 2D.

While I was looking for other libraries I saw this, seems the same author but it's new version: mobile_scanner I also saw this: qr_flutter

SchrodingersGat commented 11 months ago

mobile_scanner looks like it might be worth a further look :)

SchrodingersGat commented 10 months ago

Another potential library: https://pub.dev/packages/code_scan/

30350n commented 7 months ago

The current library is also somewhat slow and unreliable, especially for datamatrix codes (atleast on my phone).