Version 3.2.0
Features
- Added
ConsentFlow.withDismissListener(ConsentFlow.OnDismissListener)
to be invoked when the dialog is dismissed. - Added
ConsentFlow.withUIContext(Activity)
to override the UI context in which the dialog should run. - Added
ConsentFlow.show()
to manually display ConsentFlow, before and after CAS initialization.On CAS initialization, the ConsentFlow still can be displayed automatically when conditions are met.
new ConsentFlow()
.withDismissListener(new ConsentFlow.OnDismissListener() {
@Override
public void onConsentFlowDismissed(int status) {}
})
.withUIContext(activity)
.show();
- Added
InitialConfiguration.getCountryCode()
andInitialConfiguration.isConsentRequired()
properties:
CAS.buildManager()
.withCompletionListener(new InitializationListener() {
@Override
public void onCASInitialized(@NonNull InitialConfiguration config) {
String initErrorOrNull = config.getError();
String userCountryISO2OrNull = config.getCountryCode();
boolean protectionApplied = config.isConsentRequired();
MediationManager manager = config.getManager();
}
});
- Added a new page to validate your integration that replaced the test ads.
- Improvements and optimizations.
- Proguard warnings fixed.
Changes
- Update
minSdkVersion
to 21 or higherStarting from version 3.2.0, the CAS.AI SDK requires all apps to be on a minimum Android API level 21 to run. To adjust the API level, change the value of
minSdkVersion
in your app’s build file to 21 or higher. - The list of networks that are included in the Clever solutions has been changed.:
- Optimal solution: Added Chartboost and DTExchange.
- Families solution: Added Chartboost and DTExchange.
- The CAS ConsentFlow dialog will not be shown to users who have seen the Google User Messaging Platform form. The user's choice will apply to all networks in the mediation.
- The
AdSize.getAdaptiveBannerInContainer(View)
is deprecation in favor ofAdSize.getAdaptiveBanner(Context, Int)
with max width parameter. - The
AdsSettings.setAnalyticsCollectionEnabled(boolean)
is deprecated and enabled by default for CrossPromo. - Updated Picasso dependency to version 2.8.
Update Adapters
Important! This SDK version requires you to update all your network adapters to the latest version.
com.cleveradssolutions:pangle:5.3.0.4
- Certified with Pangle - 5.3.0.4
- Added Native Banner Ads support.
com.cleveradssolutions:chartboost:9.4.0.0
- Certified with Chartboost - 9.4.0
com.cleveradssolutions:yandex:25.10.0.0
- Certified with Yandex Mobile Ads - 5.10.0
- Added Native Banner Ads support.
com.cleveradssolutions:mintegral:16.4.81.0
- Certified with Mintegral - 16.4.81
- Added Native Banner Ads support.
com.cleveradssolutions:kidoz:8.9.9.0
- Certified with Kidoz - 8.9.9
com.cleveradssolutions:unity:4.8.0.0
- Certified with Unity Ads - 4.8.0
- The Adaptive size no longer supported for Banner Ads. Instead, a standard banner size will be loaded.
com.cleveradssolutions:tapjoy:13.1.2.0
- Certified with Tapjoy - 13.1.2
com.cleveradssolutions:mytarget:5.17.0.0
- Certified with MyTarget - 5.17.0
- Added Native Banner Ads support.
com.cleveradssolutions:google:22.2.0.0
- Certified with Google Mobile Ads - 22.2.0
com.cleveradssolutions:fyber:8.2.3.4
- Fixed compliance issue with the Family Self-Certified Ads program.
com.cleveradssolutions:vungle:6.12.1.7
- Updated Proguard rules to avoid some issues.
- Added Native Banner Ads support.
CAS 3.2 compatibility update
com.cleveradssolutions:inmobi:10.1.4.4
com.cleveradssolutions:applovin:11.10.1.3
com.cleveradssolutions:adcolony:4.8.0.12
com.cleveradssolutions:facebook:6.14.0.2
com.cleveradssolutions:ironsource:7.3.1.1
com.cleveradssolutions:superawesome:9.1.0.2
See the list of all adapters on our wiki page.