Skip to content

Releases: cleveradssolutions/CAS-Unity

Version 3.9.1

26 Jul 13:27
Compare
Choose a tag to compare
  • Discover the native 3.9.1 SDKs release notes for Android and iOS.

Changes

  • The CASExchange adapter has been included to the Optimal Ads Solutions.
  • Previously beta adapters are now available to all: CASExchange, HyprMX, and StartIO.

Version 3.9.0

17 Jul 12:03
Compare
Choose a tag to compare
  • Discover the native 3.9.0 SDKs release notes for Android and iOS.

Changes

  • [Android] Requires a minimum compileSdkVersion of 34.
  • [iOS] Requires apps to build with Xcode 15.3 or above.

Bug Fixes

  • [Android] Fixed gradle build error Could not find method apply() in Unity 2022+.
  • [Editor] Fixed exception log when detecting Gradle version in Unity 6.

Version 3.8.1

28 Jun 13:33
Compare
Choose a tag to compare
  • Discover the native 3.8.1 SDKs release notes for Android and iOS.

Bug Fixes

  • [iOS] Fixed a critical issue related to the position of Banner ads.
  • [iOS] Fixed NSUserTrackingUsageDescription localization with com.unity.localization package.
  • [iOS] Fixed XCode build error CASResources no such file or directory when the unity project was compiled on Windows.
  • [iOS] Fixed an issue where the UIViewController is invalid for the Consent Flow.

Version 3.8.0

21 Jun 15:10
Compare
Choose a tag to compare
  • [Hotfix] The version of the Unity plugin has been upgraded.
  • Discover the native 3.8.0 SDKs release notes for Android and iOS.
  • Added a log with useful information about ad impression with disabled verbose logs.

Update Banner Ad Position

  • Added support new AdPosition: MiddleCenter, MiddleLeft, MiddleRight.
  • Added support for offset (X, Y) position from any AdPosition. Previously, only TopLeft was supported.
  • Added optional parameter AdPosition to method SetPosition(int x, int y, AdPosition position = AdPosition.TopLeft) method.
  • Added new method SetPositionPx(int x, int y, AdPosition position = AdPosition.TopLeft) to set (X, Y) offset in pixels.
  • Added new method float CAS.MobileAds.GetDeviceScreenScale() to retrieve the device screen scale in independent pixels (DP). Use this scale to convert pixels to DP and vice versa.
  • The rectInPixels is now available immediately in the OnLoaded event.
  • The rectInPixels will not be reset when the banner is hidden, the values ​​remain from the last display on the screen.

Check out the updated documentation Banner Ad Position

Bug Fixes

  • [iOS] Fixed the position of banner ads after changing the device orientation.
  • [Android] Removed gradle property enableDexingArtifactTransform for Unity 2022.2+ as deprecated with newest gradle versions.

Changes

  • The ConsentFlowAdObject.showOnAwakeIfRequired changed to False by default.
  • The ManagerAdObject.initializeOnAwake changed to False by default.
  • [Android] The CASPlugin.androidlib has been replaced by CASUnityBridge.aar for compatibility with Unity 6.
  • [Android] Now Gradle file modifications will be performed in temporary build files instead of project assets.
  • [iOS] The Info.plist configuration post-process was moved to int.MaxValue - 10 order to workaround an issue where other plugins could override parameters such as SKAdNetowkrIDs.

New ads networks support in closed beta

  • CASExchange - is a cutting-edge exchange platform designed to extend our SDK, enabling integration with Demand Side Platforms (DSPs).
  • Ogury
  • LoopMe

Version 3.7.3

23 May 13:17
Compare
Choose a tag to compare
  • Discover the native 3.7.3 SDKs release notes for Android and iOS.
  • Added new EnableOptionsButton event for ConsentFlowAdObject to enable/disable Consent option button.

Bug Fixes

  • [iOS] Fixed EXC_BAD_ACCESS crash from didCloseAd callback.

Changes

  • The MyTarget network support has been removed. Our team considers MyTarget to be ineffective and excludes it from CAS mediation.

    Please remove the MyTarget adapter if you are using it.

Version 3.7.2

09 May 13:47
Compare
Choose a tag to compare

Note

We're aware of a potential iOS issue Linker command failed with Undefined symbols arising from MyTarget dependencies. Please do not include the MyTarget dependency in your project. Our team considers MyTarget to be ineffective and excludes it from CAS mediation.

  • Discover the native 3.7.2 SDKs release notes for Android and iOS.
  • Introduced automatic collect impression level data to Tenjin Analytics. (Closed beta)

Bug Fixes

  • [iOS] Fixed an issue where the AppReturn ads events could be raised from outside the Unity Mein Thread.
  • [iOS] Fixed the Privacy Info invalid API reason declaration for UnityFramework in the UserDefaults category. The issue stemmed from the SuperAwesome framework, which received an update with the fix.
  • [Editor] Fixed the compilation error The type or namespace name 'NUnit' could not be found.
  • [Editor] Fixed an error when the plugin component was not found after the unitypackage integration.
  • [Editor] Fixed plugin version checking given Revision part.

Version 3.7.1

25 Apr 10:46
Compare
Choose a tag to compare
  • The native SDK remains version 3.7.0.

Bug Fixes

  • [Android] Fixed Exception: JNI: Unknown signature for type 'CAS.Android.CASConsentFlowClient'.

Version 3.7.0

22 Apr 12:00
Compare
Choose a tag to compare

Caution

This version has a critical issue in Android runtime, which is fixed in version 3.7.1.

  • Discover the latest features in native 3.7.0 SDKs for Android and iOS.
  • Added support AdType.AppOpen. Read integration guides for UnityEditor or Script C#
  • Added new static events in CAS.MobileAds class: OnApplicationBackground and OnApplicationForeground. It's important to use new events when you want to show AppOpen ads on user returning to the game.
  • Added ConsentFlowAdObject component. Read more about update of User Consent Flow.
  • Added option to disable ConsentFlow via ManagerAdObject component.
  • Added ConsentFlowAdObject optional field for ManagerAdObject to configure ConsentFlow on Ads initialization.
  • Added ConsentFlow.Status enum and new event for ConsentFlow.WithCompletionListener(Action<ConsentFlow.Status>).
  • Added ConsentFlow.DebugGeography enum and ConsentFlow.WithDebugGeography() method to sets debug geography for testing purposes.
  • Added ShowIfRequired() method for ConsentFlow instance to show the consent form only if it is required and the user has not responded previously.
new ConsentFlow()
    .WithDebugGeography(ConsentFlow.DebugGeography.EEA)
    .WithCompletionListener((status) =>
    {
        if (status == ConsentFlow.Status.Obtained)
        {
            // User consent obtained.
        }
    })
    .ShowIfRequired();
  • Added Show() method for ConsentFlow instance with the same functionality as the CAS.MobileAds.ShowConsentFlow(ConsentFlow) but easier to use.
  • Made CAS.MobileAds.ShowConsentFlow() obsolete in favor of new ShowIfRequired() or Show() methods for ConsentFlow instance.
  • Made OnAdOpening events obsolete. Please use OnAdImpression event to collect AdMetaData about the ad impression or OnAdShown event if AdMetaData is not used.
  • Performance improvements when forwarding native callbacks.
  • In manual ad loading mode, the SDK will no longer trigger OnAdFailedToLoad events before closing the Interstitial and Rewarded ads.
  • [Android] Added androidx.lifecycle:lifecycle-process:2.6.2 dependency.
  • [Editor] Added ConsentFlow completion events implementation to testing in editor.
  • [Editor] Removed Delay measurement of the Ad SDK initialization option, which applies in any case.

Version 3.6.1

11 Apr 12:29
Compare
Choose a tag to compare
  • Discover the latest features in native 3.6.1 SDKs for Android and iOS.

Bug Fixes

  • [iOS] Fixex Banner ads moving after full screen due to a safe area bug in Unity Engine.
  • [Editor] The Utils class alias has been hidden to avoid conflict with the global namespace.

New ads networks support in closed beta

  • StartIO

Version 3.6.0

29 Mar 13:58
Compare
Choose a tag to compare
  • Discover the latest features in native 3.6.0 SDKs for Android and iOS.
  • [iOS] The minimum supported Xcode version has been increased to 15.1.
  • [iOS] Added support for the Apple Privacy Manifest update to ensure publisher compliance with new App Store submission requirements.
  • [iOS] Added to build required AdSupport and AppTrackingTransparency frameworks if UserTrackingUsageDescription defined in settings window.
  • Added CAS.MobileAds.targetingOptions.locationCollectionEnabled property to collect from the device the latitude and longitude coordinated truncated to the hundredths decimal place. And Location targeting if allowed default value for both platforms to settings window. Collect occurs only if your application already has the relevant end-user permissions and if the target audience is not children.
  • Make CAS.MobileAds.settings.trackLocationEnabled obsolete in favor of locationCollectionEnabled in targetingOptions for both platforms.

Bug Fixes

  • Fixed the mapping of AdNetwork.DTExchange to the native CAS for the AdMetaData structure.