Releases: cleveradssolutions/CAS-Unity
Releases · cleveradssolutions/CAS-Unity
Version 3.9.1
Version 3.9.0
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
Bug Fixes
- [iOS] Fixed a critical issue related to the position of Banner ads.
- [iOS] Fixed
NSUserTrackingUsageDescription
localization withcom.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
- [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, onlyTopLeft
was supported. - Added optional parameter
AdPosition
to methodSetPosition(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 theOnLoaded
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 toFalse
by default. - The
ManagerAdObject.initializeOnAwake
changed toFalse
by default. - [Android] The
CASPlugin.androidlib
has been replaced byCASUnityBridge.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 toint.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
- Discover the native 3.7.3 SDKs release notes for Android and iOS.
- Added new
EnableOptionsButton
event forConsentFlowAdObject
to enable/disable Consent option button.
Bug Fixes
- [iOS] Fixed
EXC_BAD_ACCESS
crash fromdidCloseAd
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
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
- 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
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
andOnApplicationForeground
. 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
viaManagerAdObject
component. - Added
ConsentFlowAdObject
optional field forManagerAdObject
to configureConsentFlow
on Ads initialization. - Added
ConsentFlow.Status
enum and new event forConsentFlow.WithCompletionListener(Action<ConsentFlow.Status>)
. - Added
ConsentFlow.DebugGeography
enum andConsentFlow.WithDebugGeography()
method to sets debug geography for testing purposes. - Added
ShowIfRequired()
method forConsentFlow
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 forConsentFlow
instance with the same functionality as theCAS.MobileAds.ShowConsentFlow(ConsentFlow)
but easier to use. - Made
CAS.MobileAds.ShowConsentFlow()
obsolete in favor of newShowIfRequired()
orShow()
methods forConsentFlow
instance. - Made
OnAdOpening
events obsolete. Please useOnAdImpression
event to collectAdMetaData
about the ad impression orOnAdShown
event ifAdMetaData
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
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
- 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
andAppTrackingTransparency
frameworks ifUserTrackingUsageDescription
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. AndLocation 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 theAdMetaData
structure.