In certain instances, even though the barcode detector identifies a barcode, the rawValue property of the result is empty.
In these scenarios, we should display an error message similar to the one shown when the scanned image is not a barcode. Refer to the screenshot below for reference:
Currently, no error message is displayed in such cases, which can misleadingly indicate that a barcode was successfully detected. See the screenshot below for details:
In certain instances, even though the barcode detector identifies a barcode, the
rawValue
property of the result is empty.In these scenarios, we should display an error message similar to the one shown when the scanned image is not a barcode. Refer to the screenshot below for reference:
Currently, no error message is displayed in such cases, which can misleadingly indicate that a barcode was successfully detected. See the screenshot below for details: