For being easier on the hardware, it could have an extra button. [here is the sourcecode of a good barcode scanner app](https://gitlab.com/Atharok/BarcodeScanner)
For being easier on the hardware, it could have an extra button.
here is the sourcecode of a good barcode scanner app