Get meta information about the SDK
This method gets the related meta information of the SDK such as version number, build number and build type.
final GAHMetaInformation gahInformation = GAHCore.getSDKVersionInfo();
Log.d(TAG, gahInformation.getBuild());
Log.d(TAG, gahInformation.getName());
Log.d(TAG, gahInformation.getVersion());
Log.d(TAG, "Debug: " + gahInformation.isDebug());
Add the GAH.plist file from “Resources” folder in “OIP Risk Management.framework” to “Copy Bundle Resources” in “Build Phases” of the Application targets. Only after adding the plist file to application, meta information can be obtained from SDK.
GAHMetaInformation *info = [GAHCore getSDKVersionInfo];
NSString *signalSdkName = [info getName];
NSString *build = [info getBuild];
NSString *version = [info getVersion];
NSString *debugStr = [info isDebugMode] ? @"True" : @"false";
var info: GAHMetaInformation? = GAHCore. getSDKVersionInfo ()
var signalSdkName: String? = info?.getName()
var build: String? = info?.getBuild()
var version: String? = info?.getVersion()
var debugStr: Bool = (info?.isDebugMode())!