Release Notes for Android SDK - 9.x
9.6.60 (12/23/2025)
This release includes security maintenance updates to ensure continued protection of the product.
Security Updates
- Updated third-party libraries to incorporate the latest security fixes.
9.6.50 (09/23/2025)
New
- Supported 16 KB page sizes
9.6.40 (03/21/2024)
Improved
- Updated the security of the
DynamsoftBarcodeReaderlibrary and other corresponding dependent libraries. - Improved the multi-thread processing logic of concurrent instance licenses.
- Improved the barcode decoding performance:
- Improved the accuracy when decoding OneD & PDF417 barcodes.
- Improved the readability of dense DataMatrix codes.
Changed
- Added a new error code
DM_LICENSE_CACHE_USED, which is returned when failing to connect to the license server but a valid license cache is available. Error codesDM_FAILED_TO_REACH_DLSandDM_LICENSE_SYNC_FAILEDare no longer returned in this scenario.
Fixed
- Fixed crash bugs in the barcode decoding algorithm.
- Fixed a bug where the location of the barcode result(s) might be incorrect.
9.6.20 (03/16/2023)
Fixed
- Fixed a bug where license authorization may fail when the main license server is not available.
- Other small fixes and tweaks.
9.6.11 (01/16/2023)
Fixed
- Fixed a bug that the barcode decoding thread might not restart when
startScanningis triggered shortly afterstopScanning.
9.6.10 (01/10/2023)
Fixed
- Fixed a bug that some OneD barcodes without start & stop characters are not decoded when parameter
RequireStartStopCharsis set to 0. - Fixed a crash bug by adding protection in algorithm.
Improved
- Improved the performance of Direct Part Marking (DPM) barcode decoding.
- Improved the performance of GS1 Databar barcode decoding.
9.6.0 (12/13/2022)
Version Highlights
- Image orientation handling is supported by a new feature. With the new feature, you can:
- Get a TranformationMatrix along with the barcode location result.
- Implement coordinates transformation on the barcode location result with the TransformationMatrix.
- DotCode decoding is improved by optimizing the localization of DotCodes that are close to one another.

- EAN8 barcode decoding is improved by honing the accuracy of localization algorithms.
- QR code localizing is improved by reducing the mis-assemble rate of the finder patterns when using the localization mode LM_CONNECTED_BLOCK or LM_SCAN_DIRECTLY, which are designed for speed. The mis-assembling only occurs when there exist dense QR codes on the same image.
- Mirrored rectangular DataMatrix barcode is supported by implementing
MirrorModewhen localizing the barcodes.

- Deformed barcode decoding is improved by extending the supported modes and mode arguments of
DeformationResistingModes.
Changelog
New
- Added a new method
setLogConfigso that user can get log information of the algorithm. EnumerationEnumLogModeis added so that users can set whether to save the log information. - Enabled decoding methods
decodeFile,decodeFileinMemoryanddecodeBase64Stringto read EXIF data of the given image so that the library can obtain the orientation information when processing image file. - Override method
decodeBuffer. You can input anImageDataobject as the barcode decoding parameter. The library can obtain the orientation information from theImageDataobject. - Added a new property
transformationMatrixto classLocalizationResultso that the library can output a transformation matrix for users to transform the coordinates of the barcode result. - Added a new method
setDuplicateForgetTimeto filter out all duplicate barcode results for a period of time when processing video streaming. - Added new properties
hasLeftRowIndicatorandhasRightRowIndicatorto classPDF417Detailsto return whether the left or right row indicator of the PDF417 barcode is detected. - Added a new member
BF2_ALLto enumerationBarcodeFormatIds_2. - Extended the features of
DeformationResistingModes:- Extended the valid mode arguments of
DRM_BROAD_WARP,DRM_LOCAL_REFERENCEandDRM_DEWRINKLEwith two new arguments:GrayscaleEnhancementModeandBinarizationMode. - Support mode
DRM_AUTO.
- Extended the valid mode arguments of
Improved
- Improved the accuracy when processing multiple QR codes.
- Improved the processing speed by excluding incorrectly located barcode zones before decoding.
- Improved the creation, destruction, and acquisition logic of concurrent instances.
- Improved the scan count of duplicate barcodes when the Charge Way is per scan.
- Improved the accuracy of EAN8 localization result(s).
- Improved the localization of mirrored DataMatrix barcode by implementing
MirrorMode.
Fixed
- Fixed a bug that DotCodes might not be decoded when they are densely arranged.
- Fixed a crash bug when trying to output a template which includes customized value for parameterd
BarcodeTextRegEexPattern. - Fixed a bug that might cause memory churn when the instance/thread was created frequently.
Removed
- Removed
destroyfrom classBarcodeReader.
9.4.0 (11/04/2022)
Version Highlights
- DotCode decoding has been improved by optimizing the localization and decoding algorithm.
- Stacked, skewed or perspective distorted OneD barcode decoding has been improved.
Changelog
New
- Added an argument
IsOneDStackedtoLM_SCAN_DIRECTLYto process stacked OneD barcodes. - Added a parameter
PatchCodeSearchingMarginsto specify the searching area of PatchCode. - Added the supported data format of
FormatSpecification.PartitionModesto enhance the readability of the parameters. Users can use a list of enumeration names to specify thePartitionModes.
Improved
- Improved the localization mode
LM_LINESto better support skewed and perspective OneD barcodes. - Enhanced tamper resistance of the license keys so that any change to the license string makes it invalid.
Deprecated
- Deprecated the attribute
barcodeFormatString_2ofTextResult,ExtendedResultandLocalizationResult. All the barcode format strings will be returned by the attributebarcodeFormatString.
9.2.10 (06/28/2022)
Version Highlights
- Barcode boundary-seeking algorithm is refactored to improve stability.
- Pharmacode decoding is optimized to improve accuracy.
- The function of device-alias is added to allow users to give each device a readable name. For end-users and administrators, this makes it more friendly to distinguish between devices about license usage statistics.
Changelog
New
- Added a new method
setDeviceFriendlyNameto set a human-readable name that identifies the device. - Added a new interface
ImageSource. It act as an adapter that transfer image data from external resources to the format that can be recognized by the Barcode Reader. The following APIs are available for users to reduce the code complexity when working withImageSource:setImageSource: SetImageSourceas the source of image data.startScanning: Start obaining image from theImageSourcecontinuously.stopScanning: Stop obtaining image from theImageSource.TextResultListener: The protocol that includes a callback method for users to receive decoded barcode results when decoding from theImageSource.
- Added a new methods
setMinImageReadingIntervalto set a minimum interval between two barcode decoding.
9.0.2 (05/26/2022)
New
- Added the following property/Method to iImageData class:
toBitmap: The method that can convert the ImageData to a Bitmap.orientation: The property that indicates the orientation of the image.
Changed
- Changed
getVersionfrom a dynamic method to a static method. The format of the return value is changed as well.
Fixed
- Fixed a bug that
TextResultmight not be returned inTextResultCallback
9.0.1 (04/20/2022)
Fixed
- Fixed a bug that might offset the position of highlight overlays on the decoded barcodes when used together with
DynamsoftCameraEnhancer.
9.0.0 (03/22/2022)
Highlights
- Simplified the license activation steps. Different license activation APIs are integrated into
initLicensemethod. - Added support for Pharmacode.
- Added support for Code 11, a 1D format.
- Deformation resisting modes
DRM_BROAD_WARP,DRM_LOCAL_REFERENCEandDRM_DEWRINKLEare optimized and detached fromDRM_GENERAL. Users can specify a more effective deformation resisting mode when processing QRCode and DataMatrix codes. - Optimized the confidence scoring system for PDF417 codes.
Changelog
New
- Added
BF_CODE_11under enumerationEnumBarcodeFormatto specify newly supported barcode format, Code 11. The enumeration value ofBF_ONEDandBF_ALLare updated as well. - Added
BF2_PHARMACODE_ONE_TRACK,BF2_PHARMACODE_TWO_TRACKandBF2_PHARMACODEunder enumerationEnumBarcodeFormat_2. to specify newly supported barcode format, Pharmacode. - Added a new error code
DBRERR_PHARMACODE_LICENSE_INVALIDwhich will be returned when the license of Pharmacode is invalid. - Added
DRM_BROAD_WARP,DRM_LOCAL_REFERENCEandDRM_DEWRINKLEunder enumerationEnumDeformationResistingModeto apply new deformation resisting modes. - Added a parameter
FormatSpecification.VerifyCheckDigit. - Added new argument
ConfidenceThresholdto theLandroid_apializationModesmode arguments. - Added static method
BarcodeReader.initLicenseto replace legacy license activation APIs. The new method will support both online and offline licenses. - Added interface
DBRLicenseVerificationListenerto get license verification callback when usingBarcodeReader.initLicense. - Added interface
TextResultListener. - Added interface
IntermediateResultListener. - Added the following image decoding methods. The parameter
templateNameis not required in the new methods.BarcodeReader.decodeBufferBarcodeReader.decodeFileBarcodeReader.decodeFileInMemoryBarcodeReader.decodeBase64StringBarcodeReader.decodeBufferedImageBarcodeReader.decodeIntermediateResults
Fixed
- Fixed a bug that might cause a crash when using multiple threads for barcode decoding.
Deprecated
- The following license activation APIs are deprecated and will be removed in 10.0 release:
- Class
DMDLSConnectionParameters - Interface
DBRServerLicenseVerificationListener - Interface
DBRDLSLicenseVerificationListener - Enumeration
EnumDMChargeWay - Enumeration
EnumDMLicenseModule - Enumeration
EnumDMUUIDGenerationMethod - Enumeration
EnumProduct - Method
BarcodeReader.initLicenseFromServer - Method
BarcodeReader.initLicenseFromLicenseContent - Method
BarcodeReader.initLicenseFromDLS - Method
BarcodeReader.outputLicenseToString
- Class
- The image decoding methods with parameter templateName are deprecated
BarcodeReader.decodeBufferBarcodeReader.decodeFileBarcodeReader.decodeFileInMemoryBarcodeReader.decodeBase64StringBarcodeReader.decodeBufferedImageBarcodeReader.decodeIntermediateResults
- Interface
TextResultCallbackis deprecated. - Interface
IntermediateResultCallbackis deprecated.
Breaking Changes
- Configurations of the preset templates are changed.
- Changed the configurations of
EnumPresetTemplate.DEFAULTtoEnumPresetTemplate.VIEDE_SINGLE_BARCODE. - Added template
EnumPresetTemplate.IMAGE_DEFAULTto store the legacy configurations ofEnumPresetTemplate.DEFAULT.
- Changed the configurations of
- Removed legacy video barcode decoding APIs
- Class
DCESettingParameters - Class
FrameDecodingParameters - Enumeration
EnumClarityCalculationMethod - Enumeration
EnumClarityFilterMode - Interface
ErrorCallback - Method
BarcodeReader.SetCameraEnhancerParam - Method
BarcodeReader.StartCameraEnhancer - Method
BarcodeReader.StopCameraEnhancer - Method
BarcodeReader.PauseCameraEnhancer - Method
BarcodeReader.ResumeCameraEnhancer - Method
BarcodeReader.startFrameDecoding - Method
BarcodeReader.startFrameDecodingEx - Method
BarcodeReader.appendFrame - Method
BarcodeReader.setErrorCallback - Method
BarcodeReader.stopFrameDecoding - Method
BarcodeReader.initFrameDecodingParameters - Method
BarcodeReader.getLenghtOfFrameQueue
- Class
- Removed the following legacy license activation APIs
- Interface
DMLTSConnectionParameters - Protocol
DBRLTSLicenseVerificationListener - Method
initLicenseFromLTS
- Interface