Skip to content

Version Information

How to get information about the SDK and license.

SDK

  • Get the API version:
DocumentReader.getAPIVersion().then((str) {
  print(str);
}).catchError(
    (Object error) => print((error as PlatformException).message));
  • Get the Core version:
DocumentReader.getCoreVersion().then((str) {
  print(str);
}).catchError(
    (Object error) => print((error as PlatformException).message));
  • Get the Core mode:
DocumentReader.getCoreMode().then((str) {
  print(str);
}).catchError(
    (Object error) => print((error as PlatformException).message));
  • Get the database ID, for example, KAZ:
DocumentReader.getDatabaseID().then((str) {
  print(str);
}).catchError(
    (Object error) => print((error as PlatformException).message));
  • Get the database version:
DocumentReader.getDatabaseVersion().then((str) {
  print(str);
}).catchError(
    (Object error) => print((error as PlatformException).message));
  • Get the database export date:
DocumentReader.getDatabaseDate().then((str) {
  print(str);
}).catchError(
    (Object error) => print((error as PlatformException).message));
  • Get the list of supported database documents:
DocumentReader.getDatabaseDescription().then((str) {
  print(str);
}).catchError(
    (Object error) => print((error as PlatformException).message));
  • Get the number of supported database countries:
DocumentReader.getDatabaseCountriesNumber().then((str) {
  print(str);
}).catchError(
    (Object error) => print((error as PlatformException).message));
  • Get the number of supported database documents:
DocumentReader.getDatabaseDocumentsNumber().then((str) {
  print(str);
}).catchError(
    (Object error) => print((error as PlatformException).message));

License

  • Get the expiration date of your license:
DocumentReader.getLicenseExpiryDate().then((str) {
  print(str);
}).catchError(
    (Object error) => print((error as PlatformException).message));
  • 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:
DocumentReader.getLicenseCountryFilter().then((str) {
  print(str);
}).catchError(
    (Object error) => print((error as PlatformException).message));