Skip to content

Version Information

How to get information about the SDK and license.

SDK

  • Get the API version:
DocReader.shared.version.api
[RGLDocReader shared].version.api
DocumentReader.Instance().version.api
DocumentReader.Instance().version.api
DocumentReader.instance.version.api;
DocumentReader.getDocReaderVersion(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.api
}, _ => { })
DocumentReader.getDocReaderVersion().then(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.api
})
DocumentReader.getDocReaderVersion(function(str) {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version.api
}, function (e) { })
// Android
DocumentReader.Instance().Version.Api

// iOS
RGLDocReader.Shared.Version.Api
  • Get the Core version:
DocReader.shared.version.core
[RGLDocReader shared].version.core
DocumentReader.Instance().version.core
DocumentReader.Instance().version.core
DocumentReader.instance.version.core;
DocumentReader.getDocReaderVersion(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.core
}, _ => { })
DocumentReader.getDocReaderVersion().then(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.core
})
DocumentReader.getDocReaderVersion(function(str) {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version.core
}, function (e) { })
// Android
DocumentReader.Instance().Version.Core

// iOS
RGLDocReader.Shared.Version.Core
  • Get the Core mode:
DocReader.shared.version.coreMode
[RGLDocReader shared].version.coreMode
DocumentReader.Instance().version.coreMode
DocumentReader.Instance().version.coreMode
DocumentReader.instance.version.coreMode;
DocumentReader.getDocReaderVersion(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.coreMode
}, _ => { })
DocumentReader.getDocReaderVersion().then(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.coreMode
})
DocumentReader.getDocReaderVersion(function(str) {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version.coreMode
}, function (e) { })
// Android
DocumentReader.Instance().Version.CoreMode

// iOS
RGLDocReader.Shared.Version.CoreMode
  • Get the database ID, for example, EU:
DocReader.shared.version.database.databaseID
[RGLDocReader shared].version.database.databaseID
DocumentReader.Instance().version.database.databaseID
DocumentReader.Instance().version.database.databaseID
DocumentReader.instance.version.database?.databaseID;
DocumentReader.getDocReaderVersion(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.databaseID
}, _ => { })
DocumentReader.getDocReaderVersion().then(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.databaseID
})
DocumentReader.getDocReaderVersion(function(str) {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version.database.databaseID
}, function (e) { })
// Android
DocumentReader.Instance().Version.Database.DatabaseID

// iOS
RGLDocReader.Shared.Version.Database.DatabaseID
  • Get the database version:
DocReader.shared.version.database.version
[RGLDocReader shared].version.database.version
DocumentReader.Instance().version.database.version
DocumentReader.Instance().version.database.version
DocumentReader.instance.version.database?.version;
DocumentReader.getDocReaderVersion(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.version
}, _ => { })
DocumentReader.getDocReaderVersion().then(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.version
})
DocumentReader.getDocReaderVersion(function(str) {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version.database.version
}, function (e) { })
// Android
DocumentReader.Instance().Version.Database.Version

// iOS
RGLDocReader.Shared.Version.Database.Version
  • Get the database export date:
DocReader.shared.version.database.date
[RGLDocReader shared].version.database.date
DocumentReader.Instance().version.database.date
DocumentReader.Instance().version.database.date
DocumentReader.instance.version.database?.date;
DocumentReader.getDocReaderVersion(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.date
}, _ => { })
DocumentReader.getDocReaderVersion().then(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.date
})
DocumentReader.getDocReaderVersion(function(str) {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version.database.date
}, function (e) { })
// Android
DocumentReader.Instance().Version.Database.Date

// iOS
RGLDocReader.Shared.Version.Database.Date
  • Get the list of supported database documents:
DocReader.shared.version.database.databaseDescription
[RGLDocReader shared].version.database.databaseDescription
DocumentReader.Instance().version.database.databaseDescription
DocumentReader.Instance().version.database.databaseDescription
DocumentReader.instance.version.database?.databaseDescription;
DocumentReader.getDocReaderVersion(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.databaseDescription
}, _ => { })
DocumentReader.getDocReaderVersion().then(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.databaseDescription
})
DocumentReader.getDocReaderVersion(function(str) {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version.database.databaseDescription
}, function (e) { })
// Android
DocumentReader.Instance().Version.Database.DatabaseDescription

// iOS
RGLDocReader.Shared.Version.Database.DatabaseDescription
  • Get the number of supported database countries:
DocReader.shared.version.database.countriesNumber
[RGLDocReader shared].version.database.countriesNumber
DocumentReader.Instance().version.database.countriesNumber
DocumentReader.Instance().version.database.countriesNumber
DocumentReader.instance.version.database?.countriesNumber;
DocumentReader.getDocReaderVersion(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.countriesNumber
}, _ => { })
DocumentReader.getDocReaderVersion().then(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.countriesNumber
})
DocumentReader.getDocReaderVersion(function(str) {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version.database.countriesNumber
}, function (e) { })
// Android
DocumentReader.Instance().Version.Database.CountriesNumber

// iOS
RGLDocReader.Shared.Version.Database.CountriesNumber
  • Get the number of supported database documents:
DocReader.shared.version.database.documentsNumber
[RGLDocReader shared].version.database.documentsNumber
DocumentReader.Instance().version.database.documentsNumber
DocumentReader.Instance().version.database.documentsNumber
DocumentReader.instance.version.database?.documentsNumber;
DocumentReader.getDocReaderVersion(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.documentsNumber
}, _ => { })
DocumentReader.getDocReaderVersion().then(str => {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version?.database?.documentsNumber
})
DocumentReader.getDocReaderVersion(function(str) {
  var version = DocReaderVersion.fromJson(JSON.parse(str))
  version.database.documentsNumber
}, function (e) { })
// Android
DocumentReader.Instance().Version.Database.DocumentsNumber

// iOS
RGLDocReader.Shared.Version.Database.DocumentsNumber

License

  • Get the expiration date of your license:
DocReader.shared.license.expiryDate
[RGLDocReader shared].license.expiryDate
DocumentReader.Instance().license().expiryDate
DocumentReader.Instance().license().getExpiryDate()
DocumentReader.instance.license.expiryDate;
DocumentReader.getLicense(str => {
  var license = License.fromJson(JSON.parse(str))
  license?.expiryDate
}, _ => { })
DocumentReader.getLicense().then(str => {
  var license = License.fromJson(JSON.parse(str))
  license?.expiryDate
})
DocumentReader.getLicense(function(str) {
  var license = License.fromJson(JSON.parse(str))
  license.expiryDate
}, function (e) { })
// Android
DocumentReader.Instance().License().ExpiryDate

// iOS
RGLDocReader.Shared.License.ExpiryDate
  • Get the list of country identifiers that are defined for processing in the license. If the array is empty, there are no restrictions for processing:
DocReader.shared.license.countryFilter
[RGLDocReader shared].license.countryFilter
DocumentReader.Instance().license().countryFilter
DocumentReader.Instance().license().getCountryFilter()
DocumentReader.instance.license.countryFilter;
DocumentReader.getLicense(str => {
  var license = License.fromJson(JSON.parse(str))
  license?.countryFilter
}, _ => { })
DocumentReader.getLicense().then(str => {
  var license = License.fromJson(JSON.parse(str))
  license?.countryFilter
})
DocumentReader.getLicense(function(str) {
  var license = License.fromJson(JSON.parse(str))
  license.countryFilter
}, function (e) { })
// Android
DocumentReader.Instance().License().CountryFilter

// iOS
RGLDocReader.Shared.License.CountryFilter

Next Steps