barKoder Web SDK v1.3.8 Released — Major Enhancements & Fixes
New Major barKoder Web SDK v1.3.8 Released
We’re excited to announce the release of barKoder Web SDK v1.3.8, packed with important bug fixes, enhanced camera handling, expanded decoder support, and new features that make our JavaScript barcode scanning SDK even more powerful for developers across desktop and mobile.
Whether you’re building enterprise-grade applications in React, Angular, or integrating barKoder into your own custom web app, this update delivers better flexibility, performance, and error handling for a smoother developer experience.
What's New in v1.3.8
Enhanced Camera Selection and UI Fixes
- Fixed a bug causing incorrect camera selection in the cameraPicker UI on desktop browsers.
- iPhones with high minimum focus distance (e.g. iPhone 14 Pro, 15 Pro) now correctly default to the best available camera (e.g. Back Triple Camera).
- Improved error logging and camera capability detection logic.
Improved Location Drawing in Continuous Mode
-
Visuals for barcode location overlays have been improved with:
- Smoother rendering
- Updated line colors for better contrast and usability
applyTemplate Method: Smarter, Safer, More Capable
The applyTemplate() method received a major overhaul:
- Now returns a Promise for asynchronous handling
-
Introduced structured error objects (
JSONFileError,JSONValueError) with detailed messages -
No more silent fallbacks — missing
templateModenow throws an error - Skips non-existent non-end-nodes gracefully
Newly supported decoders in templates:
-
Upc-E1 -
Datalogic 25 -
Added
dpmModesupport for QR codes
New SDK Settings & Configurations
You now have access to even more granular configuration options via template or programmatic setup:
-
locationLineColor,locationLineWidth -
roiLineColor,roiLineWidth,roiOverlayBackgroundColor -
imageResultEnabled,locationInImageResultEnabled,locationInPreviewEnabled -
regionOfInterestVisible,barkoderResolution,beepOnSuccessEnabled
These settings now also accept both boolean and number types, giving you more flexibility.
Affected settings include:enableMisshaped1D, enableVINRestrictions, enableComposite, multicodeCachingEnabled, upcEanDeblur
New JavaScript API Methods
New methods give developers more control and observability in their web barcode scanning implementation:
-
getEnabledDecoders() -
setRoiOverlayBackgroundColor(),getRoiOverlayBackgroundColor() -
setLocationInImageResultEnabled(),isLocationInImageResultEnabled()
Now With Full TypeScript Support!
We've added TypeScript typings for all core APIs and new methods—ensuring better IntelliSense, type safety, and easier integration for modern JavaScript apps.
Previously Added in v1.3.7 and Earlier
- South African Driver's License (SADL) parser
- Full suite of Postal code decoders: PostalIMB, Postnet, RoyalMail, KIX, AustralianPost, JapanesePost, and Planet
- VIN, DotCode, and composite barcode support expanded
-
New methods for:
- Thumbnail image results
- Flash availability
- Zoom control
- Vite support fixes & native lib upgrades
Native Library Update
This version includes native library v1.5.5.1, ensuring peak performance and stability across all supported browsers.
Get Started or Upgrade Now
Documentation: barKoder Web SDK Docs
Angular Example: Angular WASM Integration
React Example: React WASM Integration
Coming Soon
- Full support for MaxiCode
- Expanded AR compatibility
- More Integration Samples
Need help with upgrading or integrating the latest features? Reach out to us at support@barkoder.com or open a ticket via the barKoder Developer Portal.


