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 version of the package via

      npm –v 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 = 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: