Skip to content

Version 2.4.0

Compare
Choose a tag to compare
@Str4tos Str4tos released this 05 Jul 14:28
· 228 commits to master since this release

Dependencies

Features

  • Added alternative events OnBannerAdOpening, OnInterstitialAdOpening, OnRewardedAdOpening with ad display metadata.
manager.OnInterstitialAdOpening += ( metadata ) =>
{
    if (metadata.priceAccuracy == PriceAccuracy.Undisclosed)
    {
        Debug.Log( "Begin impression " + metadata.type + " ads with undisclosed cost from " + metadata.network );
    }
    else
    {
        string accuracy = metadata.priceAccuracy == PriceAccuracy.Floor ? "a floor" : "an average";
        Debug.Log( "Begin impression " + metadata.type + " ads with " + accuracy + 
                   " cost of " + metadata.cpm + " CPM from " + metadata.network );
    }
};
  • The ReturnToPlayAdObject component has been added, which allows displaying ads when returning to the game without using scripts.
  • [iOS] Added check for minimum deployment version of iOS 10.0 before build.

Bug Fixes

  • [iOS] Fixed bug with ReturnToPlayAd.
  • [Editor] Fixed bug when building with -batchmode and disabled ads for the application.