You can discover which AppLovin SDK version you are using in multiple ways:
Log
The AppLovin SDK prints the SDK version to the log as part of the initialization process.
You will find these lines in the device log:
========================================
Programmatically
Native Android You can retrieve the version programmatically through a field in the SDK.
The following code snippets show how to do this in Java and Kotlin:
String version = AppLovinSdk . VERSION ;
int versionCode = AppLovinSdk . VERSION_CODE ;
val version : String = AppLovinSdk.VERSION
val versionCode : Int = AppLovinSdk.VERSION_CODE
Native iOS You can retrieve the version programmatically by means of a property in the SDK.
The following code snippets show how to do this in Objective-C and Swift:
NSString * version = [ALSdk version ];
NSUInteger versionCode = [ALSdk versionCode ];
var version : String = ALSdk. version ()
var versionCode : UInt = ALSdk. versionCode
You can also find the version in the Mediation Debugger, which you can show in your app by means of an SDK method (after the SDK initializes).
The following code snippets show how to do this.
AppLovinMAX . showMediationDebugger();
UAppLovinMAX:: ShowMediationDebugger ();
MaxSdkCallbacks . OnSdkInitializedEvent += (MaxSdkBase . SdkConfiguration sdkConfiguration) => {
MaxSdk . ShowMediationDebugger ();
Map ? configuration = await AppLovinMAX . initialize ( «your - SDK - key» );
AppLovinMAX . showMediationDebugger ();
Map? configuration = await AppLovinMAX . initialize ( « your - SDK - key » );
AppLovinMAX . showMediationDebugger ();
AppLovinSdk . getInstance ( this ) . showMediationDebugger () ;
AppLovinMAX . initialize ( « SDK - key » , ( configuration ) => {
AppLovinMAX . showMediationDebugger ();
AppLovinMAX . initialize ( « SDK - key » ) . then ( configuration => {
AppLovinMAX . showMediationDebugger ();
AppLovinSdk. getInstance ( this ). showMediationDebugger ()
applovin . show_mediation_debugger ()
[[ALSdk shared ] showMediationDebugger ];
ALSdk. shared (). showMediationDebugger ()