SetAppVersion static method
Sets the current appVersion
of your application.
appVersion
is string of maximum length 256 characters with UTF-8 encoding.
The app version appears along with the activation details in dashboard. It is
also used to generate app analytics.
The function throws a LexActivatorException on error.
Implementation
static int SetAppVersion({
required String appVersion,
}) {
int status = _lexActivatorNative.SetAppVersion(
appVersion,
);
if (LexStatusCodes.LA_OK != status) {
throw LexActivatorException(status);
}
return status;
}