barras
barras copied to clipboard
Feauture request: validation function
Could you, please, add some validation? Would be great to pass the function that return true if barcode is valid (scanned item is exists in database, for example) or false if not and scan in infinity loop until this function return true or cancel pressed. Maybe it's reasonable to pass callback for failed scan - developers could show a Toast in that case or play custom sound