I'm pretty new to everything related to hardware.
I am searching for a way to connect PWA to POS hardware, like Scanner or cash drawer. How can I access these via PWA or JavaScript?
I'm pretty new to everything related to hardware.
I am searching for a way to connect PWA to POS hardware, like Scanner or cash drawer. How can I access these via PWA or JavaScript?
The hardware you intend to use need to use webUSB api (for e.g. "Canon DR-M160II scanner" uses one), which will of course depend on the implementation by the hardware vendor.
You can either check if there's any compatible hardware already available and then for coding your PWA accordingly, you can refer to this web.dev article.
If you strictly need to use the existing hardware and can get the corresponding hardware vendor to customize it, you can ask them to refer to this article on web.dev.