barras icon indicating copy to clipboard operation
barras copied to clipboard

Feauture request: validation function

Open goodwind opened this issue 3 years ago • 0 comments

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

goodwind avatar Apr 01 '21 09:04 goodwind