Skip to content

getVersionAlias ​

Get the SDK Version Alias ​

getVersionAlias synchronously returns the version alias of the integrated SDK. It returns the same version information as [SUDGI getVersionAlias].


Method Declaration ​

objectivec
+ (nonnull NSString *)getVersionAlias;

Parameters ​

This method takes no parameters.


Return Value ​

Returns a nonnull NSString * version alias, for example, v1.1.35.286-et. The actual value depends on the integrated SDK.


Example ​

objectivec
NSString *versionAlias = [SUDOP getVersionAlias];
NSLog(@"SUDOP SDK version alias: %@", versionAlias);

Notes ​

  • This is a synchronous class method and can be called before SDK initialization.
  • A version alias may contain build or release-channel identifiers; do not assume that it contains only digits.
  • Use the value returned by getVersion for standard version-number comparisons.