Hi,
I am using this component for PWA and I noticed that when you close the scanner using the X:
We see the following error message:
I see this in the plugin:
So I can't even catch the exception and handle it accordingly.
Right now it's not a user friendly message and in my opinion it's not really an error as the user wants to close the scanner.
So the question is: Can we not show an error when we close the scanner? If not, are there plans to allow this in a future update of the component?
Thanks in advance.
Ricardo
Hey @Ricardo de Freitas, thanks for posting this. At the moment using the ScanCode block, there's no way around that problem. Could you try using the ScanBarcode client action directly instead? That can allow you to handle the error directly.
Thank you Pedro, it worked. I didn't realise that the ScanBarcode client action was public.