Don’t allow barcode scanning if the device doesn’t support it.