Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feauture request: validation function #13

Open
goodwind opened this issue Apr 1, 2021 · 0 comments
Open

Feauture request: validation function #13

goodwind opened this issue Apr 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@goodwind
Copy link

goodwind commented Apr 1, 2021

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

@deadblit deadblit added the enhancement New feature or request label Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants