Result Code | Value | Description | Solution |
|---|---|---|---|
-1000 | The camera failed to be initialized. | Check whether the device camera works properly. | |
-1 | Barcode with unknown content. | Make sure that the barcode is supported by Scan Kit. For details, please refer to Recommended Settings for Barcode Generation. | |
1 | The app does not have the camera permission. | Apply for the permission again. For details, please refer to Adding Permissions. | |
2 | The app does not have the read permission on the file directory. | Apply for the permission again. For details, please refer to Adding Permissions. |
If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.