Releases: cleveradssolutions/CAS-Android
Version 2.5.0
Known Issues in 2.5.0
- AdColony requests always fail.
- Mintegral requests always fail.
- Vungle crash
java.util.ConcurrentModificationExceptionfromcom.vungle.warren.persistence.FilePreferences$1.run() - InMobi crash from
com.inmobi.media.o.onTouchEvent()to fix need use InMobi version 9.1.9. - Ads may be blocked after InMobi impression.
Features
Bidding and Waterfall collaboration
- This update made huge changes to the handling of ad requests. Our goal was to increase the efficiency and performance of collaboration between Waterfall and Bidding systems.
- Added bidding for AdColony, Vungle, AppLovin in beta.
- Added option to transfer Facebook AN bidding to AppLovin instead of Fyber FireBid.
- Filtration of ineffective floors from the waterfall.
Banner Ads update
- We had to rethink the structure of banners and banner sizes to make their work clearer and more efficient.
Global ad instance for all.CASBannerView
EachCASBannerViewhas its own unique ad view.Attention. Several banners can be displayed on one screen.
- Change banner size no longer destroys views of a different size.
- Added
CASBannerView.isAdReady()to check a specific banner size instead of a global bannerMediationManager.isAdReady(AdSize.Banner). - Added
CASBannerView.setRefreshInterval()to define a unified refresh interval for the current view instead of using the globalAdsSettings.setRefreshInterval(). - Added
CASBannerView.disableAdRefresh()to disable refresh ad for the current view. - Added
CASBannerView.destroy()to destroy ad in the current view. Please call destroy when banner view is no longer needed. For example inActivity.onDestroy()callback. - The ad refresh for
AdSize.MEDIUM_RECTANGLEis permanently disabled. - Added new
CASBannerView.setLoadCallback(new LoadAdCallback{})to fetch load callback for the current view instead of using the global callback. - Renamed
CASBannerView.setListener(new AdCallback{})toCASBannerView.setContentCallback(new AdCallback{})for clarity the difference. - The Banner ad no longer calls the
AdCallback.onShowFailed(). - Removed functionality that very rarely could cause blocking from networks for resizing ads.
- Deprecated
MediationManager.bannerSizein favor of defining the banner size for eachCASBannerView.size. - Deprecated
MediationManager.hideBanner()in favor of defining the visibility for eachCASBannerView.setVisibility().
Changes
- Chartboost is no longer supported. At the moment, Chartboost architecture does not allow us to effectively compete with other networks. We will keep an eye on changes in the future and look forward to receiving support back.
- Deprecated
CAS.initialize()in favor ofCAS.buildManager()to use new options. - Deprecated
MediationManager.setManualPauseControl()and no longer available.
Bug Fixes
- Fixed Cross-Promo Endcard image.
- Fixed error message from validate integration log about missing cas_settings file with wrong name.
Update partners SDK version
- IronSource - 7.1.8
implementation 'com.ironsource.sdk:mediationsdk:7.1.8' - MyTarget - 5.13.3
implementation 'com.my.target:mytarget-sdk:5.13.3' - YandexAds - 4.3.0
implementation 'com.yandex.android:mobileads:4.3.0'
implementation 'com.yandex.android:mobmetricalib:3.20.1' - Vungle - 6.10.1
implementation 'com.vungle:publisher-sdk-android:6.10.1' - AdColony - 4.6.1
implementation 'com.adcolony:sdk:4.6.1' - MoPub - 5.18.0
implementation 'com.mopub:mopub-sdk-banner:5.18.0'
implementation 'com.mopub:mopub-sdk-fullscreen:5.18.0' - Mintegral - 15.6.31.0
implementation 'com.cleveradssolutions:mintegral:15.6.31.0' - Kidoz - 8.9.2.2
implementation 'com.cleveradssolutions:kidoz:8.9.2.2' - Start IO - 4.8.10.0
implementation 'com.cleveradssolutions:startio:4.8.10.0' - Facebook AN - 6.5.1
implementation 'com.facebook.android:audience-network-sdk:6.5.1'
implementation 'com.applovin.mediation:facebook-adapter:6.5.1.0'
Version 2.4.1
Known Issues in 2.4.1
- InMobi crash from
com.inmobi.media.o.onTouchEvent()to fix need use InMobi version 9.1.9.
Bug Fixes
- Fixed Cross-Promo Interstitial Ads impression without video creative.
- Fixed Cross-Promo name in validate integration log.
- Fixed error message from validate integration log about missing cas_settings file with wrong name.
Update partners SDK version
- Fyber FairBid - 3.17.0
implementation 'com.fyber:fairbid-sdk:3.17.0' - AppLogin - 10.3.2
implementation 'com.applovin:applovin-sdk:10.3.2' - IronSource - 7.1.7
implementation 'com.ironsource.sdk:mediationsdk:7.1.7' - MyTarget - 5.13.1
implementation 'com.my.target:mytarget-sdk:5.13.1' - YandexAds - 4.2.0
implementation 'com.yandex.android:mobileads:4.2.0'
implementation 'com.yandex.android:mobmetricalib:3.20.1' - UnityAds - 3.7.5
implementation 'com.unity3d.ads:unity-ads:3.7.5' - InMobi - 9.2.0
implementation 'com.inmobi.monetization:inmobi-ads:9.2.0' - SuperAwesome - 8.1.3
implementation 'tv.superawesome.sdk.publisher:superawesome:9.1.3'
allprojects.repositories{ maven { url "https://aa-sdk.s3-eu-west-1.amazonaws.com/android_repo" }}
Version 2.4.0
Features
- Reduced allocation of new objects while working with threads.
This change affects all adapters and forces them to be updated for compatibility.
- Added details to the AdCallback about the impression that occurred.
- Added collection of information about ANR in closed beta.
- Added an additional delay after clicking and closing the ads for a successful display AppReturnAd.
- Verify Integration update with additional checks.
- Optimization of Kidoz memory use.
- Correction of ProGuard rules to reduce memory usage.
Bug Fixes
- Fixed ANR when initializing Mintegral SDK.
- Fixed rare ANR due to SharedPreference locking.
- Fixed rare exception when changing orientation using Adaptive Banner size.
- Fixed rare crash from Kidoz Banner.
Update partners SDK version
- Fyber FairBid - 3.16.0
implementation 'com.fyber:fairbid-sdk:3.16.0' - AppLogin - 10.3.1
implementation 'com.applovin:applovin-sdk:10.3.1' - IronSource - 7.1.6.1
implementation 'com.ironsource.sdk:mediationsdk:7.1.6.1' - Facebook AN - 6.5.1
implementation 'com.facebook.android:audience-network-sdk:6.5.1' - MyTarget - 5.13.0
implementation 'com.my.target:mytarget-sdk:5.13.0' - Mintegral - 15.5.51.1
implementation 'com.cleveradssolutions:mintegral:15.5.51.1' - Start.io - 4.8.9.1
implementation 'com.cleveradssolutions:startio:4.8.9.1' - Chartboost - 8.2.1.1
implementation 'com.cleveradssolutions:chartboost:8.2.1.1' - Kidoz - 8.9.2.1
implementation 'com.cleveradssolutions:kidoz:8.9.2.1'
Version 2.3.0
Features
- Migrated to Kotlin runtime minimum version 1.4.32.
- Added the ability to enable automatic display of interstitial ads for users who return to the open application.
- Added a more intuitive function
.withAdTypesto select active Ad Types in current session.
By default: All Ad types are used.
CAS.buildManager().withAdTypes(AdType.Banner, AdType.Interstitial, AdType.Rewarded).initialize(context)- Added function to
clear()all listeners fromCASEvent
manager.onAdLoadEvent.clear()- Improved and optimize CAS threads.
- CAS Manager initialization is more intuitive to use:
.withTestAdMode(false)and empty.withManagerId ("")will throw exception!You can use
.withManagerId (BuildConfig.APPLICATION_ID)when your manager id match the application id..withTestAdMode(true)allowed empty.withManagerId("")will works fine.Now CAS will not find the application id when the manager id is empty since this causes problems with ProGuard.
Changes
- Deprecate
CAS.buildManager().withEnabledAdTypes(AdTypeFlags.Banner or AdTypeFlags.Interstitial).initialize(context)in favor of the more intuitive function.withAdTypes. - Deprecate
CASBannerView.positionproperty in favor layout gravity. - Deprecate
manager.hideBanner()function in favorCASBannerView.setVisibility(View.GONE)for each banner.
Bug Fixes
- Now change the
CASBannerView.sizewill instantly hide the current banner with an inappropriate size. - Fixed the problem after returning to an already created activity, the banner remained with the size from closed activity.
Now we recommend specifying the banner size for eachCASBannerView.size.Set banner size by
manager.bannerSizewill still determine the banner size for all existingCASBannerView. - Fixed the problem of banner recovery after closing a fragment that was showing another banner.
- Fixed first Kidoz Interstitial request.
- Minor fixes to the Vungle Banner impression flow.
Update partners SDK version
- Fyber FairBid - 3.15.1
implementation 'com.fyber:fairbid-sdk:3.15.1' - Google Ads - 20.2.0
implementation 'com.google.android.gms:play-services-ads:20.2.0' - Yandex Ads - 4.1.1
implementation 'com.yandex.android:mobileads:4.1.1' - Mintegral - 15.5.31.0
implementation 'com.cleveradssolutions:mintegral:15.5.31.0' - Start.io - 4.8.9.0
implementation 'com.cleveradssolutions:startio:4.8.9.0' - Chartboost - 8.2.1.0
implementation 'com.cleveradssolutions:chartboost:8.2.1.0' - Kidoz - 8.9.2.0
implementation 'com.cleveradssolutions:kidoz:8.9.2.0'Kidoz SDK has been moved to our maven repository as the
jCenter()is shutting down.
Version 2.2.4
Features
- Improved Activity lifecycle handling for Kidoz SDK.
- Improved disappearing navigation bar for CrossPromo and LastPager Interstitial Ad.
- Added ProGuard rules to keep CAS SDK.
- Added print Device Hash ID in
IntegrationHelperto set current device likeTestDevice. - Added permissions
INTERNET,ACCESS_NETWORK_STATE,ACCESS_WIFI_STATEto SDK manifest.
Changes
- Yandex Ads removed from the recommended solution as it supports banner ads only.
- Mintegral added to the recommended solution.
Recommended solution is
com.cleveradssolutions:cas.
Update partners SDK version
- IronSource - 7.1.6
implementation 'com.ironsource.sdk:mediationsdk:7.1.6' - AppLovin - 10.3.0
implementation 'com.applovin:applovin-sdk:10.3.0' - Unity Ads - 3.7.2
implementation 'com.unity3d.ads:unity-ads:3.7.2' - myTarget - 5.12.3
implementation 'com.my.target:mytarget-sdk:5.12.3' - Fyber FairBid - 3.15.0
implementation 'com.fyber:fairbid-sdk:3.15.0'
Version 2.2.2
No changes in CAS SDK from 2.2.1 version.
Bug Fixes
- The AdColony SDK version has been downgraded to 4.4.1. This will help avoid the popular ANR on Broadcast of Intent.
implementation 'com.adcolony:sdk:4.4.1'
AdColony answer: Our Engineers have a fix for the ANR. We don't have an exact date, but it will be available in our next SDK release. Thanks.
Update partners SDK version
- FB Audience Network - 6.5.0
implementation 'com.facebook.android:audience-network-sdk:6.5.0'
Version 2.2.1
Bug Fixes
- Fixed a critical
java.lang.ArrayIndexOutOfRangeon initialization of mediation.
Version 2.2.0
⚠️ We found a critical bug that was fixed in version 2.2.1.
Features
- Reduced memory usage throughout the entire life cycle.
⭐ Our main goal to current update was to reduce the amount of memory used.
We have done a great job optimizing various aspects of our SDK. It should reduce the number of ANR and make CAS work more stable.
Bug Fixes
- Fixed FairBid banner visibility on screen.
- Fixed FairBid validation of bidding price and handle
Undisclosedaccuracy. - Fixed rare crash on initialize Yandex Metrica in second process.
- Kidoz API is now called from Main Thread to fix NPE in SDK version 8.9.1.
- Disabled wrong
CAS_Failanalytics event of Banner Ads. - Removed default network_security_config.xml from CAS SDK. Please create your own file for use in applications.
Update partners SDK version
- Admob - 20.1.0
implementation 'com.google.android.gms:play-services-ads:20.1.0' - AppLovin - 10.2.1
implementation 'com.applovin:applovin-sdk:10.2.1' - InMobi - 9.1.9
implementation 'com.inmobi.monetization:inmobi-ads:9.1.9' - MoPub - 5.17.0
implementation 'com.mopub:mopub-sdk-banner:5.17.0'
implementation 'com.mopub:mopub-sdk-fullscreen:5.17.0' - FairBid - 3.14.2
Migrate adapter from own adaptercom.cleveradssolutions:fairbidto official sdk
implementation 'com.fyber:fairbid-sdk:3.14.2' - Chartboost - 8.2.0.2
Migrate frommaven { url "https://chartboostmobile.bintray.com/Chartboost" }tomavenCentral()
implementation 'com.cleveradssolutions:chartboost:8.2.0.2' - IronSource - 7.1.5.1
Migrate frommaven { url "https://dl.bintray.com/ironsource-mobile/android-sdk" }
tomaven { url "https://android-sdk.is.com/" }
implementation 'com.ironsource.sdk:mediationsdk:7.1.5.1' - Kidoz - 8.9.1
implementation 'com.kidoz.sdk:KidozSDK:8.9.1' - Start.Io - 4.8.7.0
implementation 'com.cleveradssolutions:startio:4.8.7.0' - Yandex Ads - 4.1.0
implementation 'com.yandex.android:mobileads:4.1.0'
implementation 'com.yandex.android:mobmetricalib:3.18.0'
Please ignore "Remove usages of jcenter() Maven repository" Android Studio warning.
Some networks did not have time for migrate to alternative maven. Such as Kidoz and Unity Ads. We will keep you informed.
Added new mediation partner
- Mintegral - 15.5.21.0 - Privacy Policy
implementation 'com.cleveradssolutions:mintegral:15.5.21.0'
Removed support for the following networks
- The Amazon Mobile Ads Network will be disabled on July 15, 2021.
- The MobFox Mobile SDK has been deprecated and no longer conforms to the new global policies.
- The Verizon Media is currently not a priority for further compatibility support.
- The Fyber Marketplace is no longer supported in favor of bidding with Fyber FairBid.
Version 2.1.7
Bug Fixes
- [Kidoz] Downgrade Kidoz version to 8.9.0 for fixing ANR's
Update partners SDK version
- Facebook AN - 6.4.0