Hi all,
I'm facing a issue with BarCode scan plugin after I try to close the scan.
Steps:
1. Click on the bar code scan to open the camera and scan functionality.
2. Click on the x icon to close the scan without scanning anything.
Error message in IOS devices
Error message in Android devices
Anyone with that same issue?
Thanks in advance
Alan Santos
Hi Alan,
Have you tried customizing the message when you click on the "X"?
I did it this way and it works for me.
Best regards
Miguel Silva
Hello Alan,
We have conducted tests and, unfortunately, we are unable to reproduce the issue you've reported. Could you please confirm if you are using the latest version of the plugin?
Best regards,
Hi Hector,
Thanks for the fast reaction, as you can see, we have the latest version.
Hi Alan, are you performing some kind of verification on the assignment before checking for errors? If that's the case, what seems to be happening is that you're cancelling the process before reading a valid code. This is causing the plugin to return an error when you're expecting a different result. Could you please validate this?Regards
Thanks for your reply, no I'm not performing any kind of validation or verification, I'm just opening the scanner and closing it, but what I do see here is that in Android I have an outdated version compared to the IOS, so I'll try to generate again the Android and test it to check if I still get the -1 Error code. I'll let you know if it works.
Kind regards
Alan
Just to give you an update of our issue from yesterday, after generating again the app we were finally able to get the correct Error code OS-PLUG-BARC-0006 - Scanning cancelled when closing the scan, must say that I expected a better feedback message to the users instead of red error Code.. but ok I guess that is nothing besides creating a customized version of the plugin to catch and handle this error on other way.
Thanks anyway for your help Hector.
Hi Miguel,
I didn't paid attention on that detail that we could call this action directly, instead I was using the UI predefined block that returns only the Barcode result and handle it self the error codes internally.
Thanks for helping
Hi
No problem with this component.