Major barKoder Web SDK Update v1.5.0
New Update: AR Enhancements and Scanning Improvements
We’re excited to introduce a new update that expands Barkoder’s capabilities with Augmented Reality (AR) functionality, enhanced scanning controls, and performance improvements. This release gives developers more flexibility in customizing the scanning experience while maintaining fast and reliable barcode and QR code detection.
Augmented Reality (AR) Support
This update adds full AR mode support, enabling a more interactive and visually guided scanning experience. Developers can now fine-tune how detected locations, headers, and transitions appear on screen, creating clearer feedback and improved usability in real-world scanning scenarios.
New AR Configuration Methods
The following new methods allow precise control over AR visuals and behavior:
Location styling and behavior:
setSelectedLocationColorsetNonSelectedLocationLineColorsetSelectedLocationLineWidthsetNonSelectedLocationLineWidthsetLocationTypesetLocationTransitionSpeed
Header customization:
setHeaderHeightsetHeaderShowModesetHeaderTextColorSelectedsetHeaderTextColorNonSelected
Interaction and behavior:
setResultDisappearanceDelayMssetDoubleTapToFreezeEnabledsetARMode
Each of these settings also includes a corresponding getter method, making it easy to read and manage AR configuration dynamically at runtime.
New AR Constants
To support the new AR functionality, the following constants have been added:
BarkoderARModeBarkoderARHeaderShowModeBarkoderARLocationType
These constants help standardize AR behavior and simplify configuration across different use cases.
New Scanning Capabilities
Two new methods have been introduced to improve flexibility and data handling:
scanFrame– Enables scanning directly from individual frames, ideal for advanced workflows and custom camera integrations.getSADLImage– A helper method for working with SADL images extracted from SADL-parsed JSON strings.
Improvements and Updates
Several existing methods have been enhanced to improve performance and usability:
setDuplicatesDelayMsnow supports disabling duplicate results indefinitely by using-1as the argument value.scanFromLocalFileSystemhas been improved for better reliability and performance.setMaximumResultsCountis now restricted when AR mode is enabled, ensuring consistent behavior and optimal AR performance.
Native Library Update
This release also updates the native library to version 1.7.0.2, bringing additional stability, performance improvements, and compatibility enhancements.


