Table of contents

How to check the version of the SDK I am currently using?

There are multiple ways to check the version currently being used -

  • The first way is to use the version API. Using this API in the browser console should print out the version of the library being used by the web app.
  • If you are using the library via npm or yarn, then you can check the installed version of the package via npm list. Note that the npm package has been renamed across major versions:
    • Version 11 and above: npm list dynamsoft-barcode-reader-bundle
    • Version 10: npm list dynamsoft-barcode-reader
    • Version 9: npm list dynamsoft-javascript-barcode
  • If you are including the library via the CDN link, then the version number should be mentioned in that reference link.
  • Javascript
  • Objective-C
  • Swift
  • Android
  • Python
  • C++
  • C#
const version = Dynamsoft.DBR.BarcodeReaderModule.getVersion();
console.log(version);
NSString *version = [DSBarcodeReaderModule getVersion];
NSLog(@"Dynamsoft Barcode Reader Version: %@", version);
let version = BarcodeReaderModule.getVersion()
print("Dynamsoft Barcode Reader Version: \(version)")
BarcodeReaderModule reader = new BarcodeReaderModule();
String versionInfo = reader.getVersion();
reader = BarcodeReaderModule()
print(reader.get_version())
const char* version = CBarcodeReaderModule::GetVersion();
string version = CBarcodeReaderModule.GetVersion();

This page is compatible for: