Skip to content

Releases: cleveradssolutions/CAS-Unity

Version 2.9.7

26 Nov 03:33
Compare
Choose a tag to compare

Dependencies

Version 2.9.6

08 Nov 12:22
Compare
Choose a tag to compare

Dependencies

Version 2.9.5

02 Nov 15:27
Compare
Choose a tag to compare

Dependencies

Bug Fixes

  • [Android] Fixed build issue with jcenter() repository.
  • [iOS] Fixed Main Thread Checker issue when app using Firebase Dynamic Links.

Version 2.9.4

18 Oct 12:31
Compare
Choose a tag to compare

Dependencies

Bug Fixes

  • [iOS] Fixed the position of banner ad on the screen.
  • [iOS] Fixed WithInitListener() call.
  • [iOS] Fixed disabling Bitcode for UnityFramework.

Version 2.9.3

13 Oct 12:10
Compare
Choose a tag to compare

Dependencies

Features

  • Improved stability of the AdMetaData class to get information about ad impressions.
  • Added IAdView.OnImpression event with AdMetaData structure and invoked only once for each new ad impression.
  • Added impressionDepth property for the AdMetaData structure to get the amount of impressions of all ad formats to the current user.
  • Added lifetimeRevenue property for the AdMetaData structure to get the total revenue in USD from impressions of all ad formats to the current user.
  • Added new AdSize.ThinBanner. Thin banners have a smaller height, taller banners compared to anchored adaptive banners.
  • Allowed simultaneous collection of ad_impression and CAS_Impression analytics events with the same parameters.
  • [iOS] Added option to enable build Bitcode in Ads Settings > Other. By default disabled.

Changes

  • The minimum iOS version supports is iOS 11.
  • The MobileAds.settings are saved between sessions.
  • The MobileAds.settings.isExecuteEventsOnUnityThread is enabled by default.
  • The option to use the Medium Rectangle size has been removed from the settings window. Just select the Banner format to use the Medium Rectangle size.
  • The IAdView.rectInPixels return Rect.zero when ad view is not active.
  • Plugin caching the value of IAdView.rectInPixels on C# side to reduse number of calls to the native side.
  • The ID of the current device for MobileAds.settings.SetTestDeviceIds() will be printed in the logs even if the CAS.settings.isDebugMode is disabled.
  • Mediation is no longer used for devices defined in MobileAds.settings.SetTestDeviceIds(). List of test devices should be defined before first MediationManager initialized.
  • Deprecated IAdView.OnPresented and IAdViwe.OnHidden events. These events are invoked when the ad view's changes IAdView.SetActive().
  • Deprecated IMediationManager.OnLoadedAd event in favor of the new separate IMediationManager.OnInterstitialAdLoaded and IMediationManager.OnRewardedAdLoaded events.
  • Deprecated IMediationManager.OnFailedToLoadAd event in favor of the new separate IMediationManager.OnInterstitialAdFailedToLoad and IMediationManager.OnRewardedAdFailedToLoad events with AdError enum. Use AdError.GetMessage() to get the error text.

Version 2.8.6

05 Sep 13:09
Compare
Choose a tag to compare

Dependencies

Features

  • [iOS] For iOS 12.2.0 or earlier builds, added /usr/lib/swift to XCode > Build Settings > Runpath Search Paths to prevent any issues with libswiftCore.dylib.
  • [Android] Added update of the mainTemplate.gradle version if the file was created by Unity 2019.2 or older.

Version 2.8.5

08 Aug 11:20
Compare
Choose a tag to compare

Dependencies

Bug Fixes

  • Fixed AdSize.AdaptiveBanner in portrait orientation.
  • Fixed refresh AdSize.AdaptiveFullWidth on orientation changed.
  • [iOS] Fixed crash from [CASUView bannerAdView:willPresent:] after application closed.
  • [Android] Fixed the Banner ad position in center of the screen with cutouts.
  • [Editor] Fixed compilation errors for Unity 2017.

    Unity 2017 is not officially supported and is not recommended for use. Please let us know about the issues and we will try to fix them.

Version 2.8.4

28 Jul 14:54
Compare
Choose a tag to compare

Dependencies

Features

  • Added new AdSize.AdaptiveFullWidth to pick the best ad size for full full screen width.

    AdSize.AdaptiveBanner can pick the ad size for screen width but not more than 728dp.

Known issue

  • AdSize.AdaptiveBanner is incorrectly sized in portrait orientation. Please use AdSize.AdaptiveFullWidth while we fix this.

Version 2.8.3

14 Jul 15:01
Compare
Choose a tag to compare

Dependencies

Features

  • Improved algorithm for processing bids with undisclosed prices.
  • Improved ad serving algorithm to increase the average revenue of Banner Ads.
  • Restored support for Fyber advertising network in closed beta.
  • No longer supported IMediationManager.GetLastActiveMediation(AdType) feature.

Bug Fixes

  • [Android] Fixed FormatException from AdMetaData.GetDouble().
  • [Android] Fixed Android Proguard issue with NoSuchMethodError.
  • [iOS] Fixed simultaneous access crash on BiddingManager.init(_:_:).
  • [iOS] Fixed index out of range crash.
  • [iOS] Force disable ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES for Framework target. Cause build error when embed for both targets.
  • [Editor] Fixed Ads Settings inspector bug.
  • Fixed internal reflection issue.

Version 2.8.1

31 May 14:00
Compare
Choose a tag to compare

Dependencies

Features

  • Added new property AdMetaData.creativeIdentifier to get the creative id tied to the ad, if available.

    You can report creative issues to our Ad review team using this id.

  • Added new property AdMetaData.identifier to get internal demand source name in CAS database.
  • Added feature to link your CAS app to Google Analytics to automatic measurement of ad revenue. Read more on our wiki page.(beta)
  • Added new AdError.Configuration when configuration error has been detected in one of the mediation ad networks.
  • Added new CAS.MobileAds.BuildManager().WithUserID(userID) to set user id. The userID is a unique identifier supplied by your application and must be static for each user across sessions.
  • Improved initialization performance.
  • [Android] All events from the native CAS SDK are called on a Background Thread instead of the Android UI Thread to avoid ANRs on unity reflection.

    Use the MobileAds.settings.isExecuteEventsOnUnityThread for all events or EventExecutor.Add() for each event to switch to the Unity Thread.

  • [Android] The Banner position inside the container now depends on the selected AdPosition, if the actual ad size is different.

Android Proguard issue

If the Proguard is active, then you have NoSuchMethodError on device. Fix it by following steps:

  1. Enable Custom Proguard file in Player Settings window.
  2. Add keep line to the file: -keep interface com.cleversolutions.ads.android.CAS$ManagerBuilder { *; }

Changes

  • ⚠️ [iOS] Updated minimum supported Xcode version to 13.2.1.
  • [Android] Removed option to disable ExoPlayer. AppLovin added the dependency on ExoPlayer so that it is always used.
  • Migration from CASInitSettings class to IManagerBuilder interface.

Update Cross promotion

  • Added feature to get the creativeIdentifier.
  • Clicking on ad analytics event will be fired once per impression.
  • Clicking on ad skips the video ad.
  • Improved banner ads to promote non-app ad.
  • [Android] Fixed video restart feature.