Skip to content

getVersion ​

Get the SDK Version ​

getVersion synchronously returns the version number of the integrated SDK. It returns the same version information as [SUDGI getVersion].


Method Declaration ​

objectivec
+ (nonnull NSString *)getVersion;

Parameters ​

This method takes no parameters.


Return Value ​

Returns a nonnull NSString * version number, for example, 1.1.35.286. The actual value depends on the integrated SDK.


Example ​

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

Notes ​

  • This is a synchronous class method and can be called before SDK initialization.
  • Use the version number for version comparison, logging, and diagnostics. Read getVersionAlias as well when displaying build or release-channel information.