Skip to main content

getSDKVersion()

Returns a string containing the library version in human-readable format.

In release versions, this value follows the common <major>.<minor>.<patch> (e.g. "1.0.0") semantic versioning scheme. However, under certain circumstances — for example, if a special build is provided for debugging — a different format may be used.

AilaCordovaPlugin.getSDKVersion()

Returns

Promise that resolves with a string containing the version (e.g., "3.0.3").

Example

AilaCordovaPlugin.getSDKVersion()
.then((version) => {
console.log('SDK Version:', version);
});