You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1: Initialize the max sdk
AppLovinSdkInitializationConfiguration initConfig = AppLovinSdkInitializationConfiguration.builder
(AdConfig.MAX_APP_KEY, this.getApplicationContext() )
.setMediationProvider(AppLovinMediationProvider.MAX)
.build();
// Initialize the AppLovin SDK
AppLovinSdk.getInstance( this ).initialize(initConfig, configuration -> {
Log.i(TAG, "AppLovinSdk-init:" );
} );
2: When configuring AD slots, json parameters are added to custom params
3: In the custom adapter, in the initialize method, the parameter value is not retrieved via getCustomParameters()
Bundle bundle = parameters.getCustomParameters();
String sid = bundle.getString("sid");
String token = bundle.getString("token");
String debug = bundle.getString("isdebug");
The sid,token, and debug values are all null
Expected Behavior
We expect the value of the custom parameter to be retrieved from getCustomParameters()
MAX SDK Version
13.0.0
Device/Platform Info
Android 12, Redmi K30
Current Behavior
1: Initialize the max sdk
AppLovinSdkInitializationConfiguration initConfig = AppLovinSdkInitializationConfiguration.builder
(AdConfig.MAX_APP_KEY, this.getApplicationContext() )
.setMediationProvider(AppLovinMediationProvider.MAX)
.build();
2: When configuring AD slots, json parameters are added to custom params
3: In the custom adapter, in the initialize method, the parameter value is not retrieved via getCustomParameters()
Bundle bundle = parameters.getCustomParameters();
String sid = bundle.getString("sid");
String token = bundle.getString("token");
String debug = bundle.getString("isdebug");
The sid,token, and debug values are all null
Expected Behavior
We expect the value of the custom parameter to be retrieved from getCustomParameters()
How to Reproduce
1: When configuring AD slots, json parameters are added to custom params
(https://github.com/user-attachments/assets/b648f045-c4f2-47ef-9f05-e04c8519d3ca)
2: max sdk init
private void initSdk() {
// Max 13版本及以上
AppLovinSdkInitializationConfiguration initConfig = AppLovinSdkInitializationConfiguration.builder
(AdConfig.MAX_APP_KEY, this.getApplicationContext() )
.setMediationProvider(AppLovinMediationProvider.MAX)
.build();
3: In the custom adapter
@OverRide
public void initialize(MaxAdapterInitializationParameters parameters, Activity activity, final OnCompletionListener onCompletionListener) {
Log.d(TAG, "initialize alx sdk……");
Log.d(TAG, "applovin-adapter-version:" + ADAPTER_VERSION);
}
Reproducible in the demo app?
Yes
Additional Info
No response
The text was updated successfully, but these errors were encountered: