Enable enhanced barcode scanning
Add the EnableCameraFocusEnhancement and the EnableMaxCameraResolution mobile properties to enhance barcode scanning for Android devices.
Before you begin
Role required: admin
About this task
Important:
To scan barcodes as accurately as possible, make sure that you:
- Scan in a well-lit environment. Both Android and iOS mobile devices have flashlight apps that you can use to make sure your device's camera has adequate light to scan barcodes accurately.
- Keep the device camera in a steady position while scanning. If the camera is shaking, barcode scans will become blurred and inaccurate.
You can enable enhanced barcode scanning on your instance for Android devices by adding the following mobile properties:
| Mobile property | Description |
|---|---|
| EnableCameraFocusEnhancement | Enables auto-zooming, which improves accuracy. This only applies to hardware that supports auto-zooming. |
| EnableMaxCameraResolution | Enables the highest possible resolution that the hardware can support. Use this for frame rendering.Note: Newer, more powerful hardware can best take advantage of this mobile property. |
Important: These mobile properties are only supported on Android devices.
Procedure
Navigate to All > sys_sg_properties.list.
The Mobile Properties list appears.
In the Mobile Properties list, select New.
The Mobile Properties form appears.
On the form, fill in the fields for the EnableCameraFocusEnhancement mobile property.
| Field | Description |
|---|---|
| Name | Name for the mobile property record. Enter EnableCameraFocusEnhancement to enable auto-zooming for hardware that supports this feature.Note: The record name is case-sensitive and must be entered as EnableCameraFocusEnhancement. |
| Application | Application scope where the mobile property is applied. To select a different application scope, select the globe icon ( Image omitted: globe-icon.png Globe icon) on the instance banner. Then select <strong>Application scope:<em>application_scope</em></strong>.</p> For information about how mobile properties are affected by application scope, see Mobile properties. |
| Description | Description of the mobile property. Enter a description of the property. For example, `Enables auto-zooming for barcode scanning`. |
| Type | Data type of the mobile property record. You must select True/False for the EnableCameraFocusEnhancement mobile property. |
| Value | Enter one of the following options:- To enable auto-zooming for barcode scanning, enter `True`. - To turn off auto-zooming for barcode scanning, enter `False`. |
| Active | Whether the mobile property is activated. If the check box is cleared, the mobile property isn't activated for use. |
| Is Public | Determines whether the pre_auth property is included in the API response. By default, this option is not selected. If you want this property included in the /pre_auth API response, select this checkbox. For more information, see Adaptive authentication events. Mobile properties with this checkbox enabled are excluded from the /user_client API response. |
| Mobile App Config | Mobile app configuration for which you want to use the mobile property. This setting limits the mobile property behavior to users who have access to this mobile app configuration. Other users don't have access to this mobile property and instead experience default behavior. Select one of the following mobile app configs:
|
| Mobile Application | Mobile application to which you want to send the mobile property. This setting limits the mobile property behavior to users who have access to this mobile app. Other users don't have access to this mobile property and instead experience default behavior. Select one of the following mobile applications:
|
Select Submit.
The Mobile Properties list appears.
In the Mobile Properties list, select New.
The Mobile Properties form appears.
On the form, fill in the fields for the EnableMaxCameraResolution mobile property.
Refer to Step 3 for information about how to complete the fields.
Important: The Name field is case-sensitive and must be entered as EnableMaxCameraResolution.
When you have completed the Mobile Properties form for the EnableMaxCameraResolution mobile property, select Submit.
What to do next
- To confirm that the properties have been added, make sure they appear in the Mobile Properties list after you select Submit.
- End users must pull to refresh and get the latest feature configurations.
Parent Topic:Mobile properties