# Changelog ## [4.4.2] - 2023-04-29 ## **Unity** - Remove redirect pop-ups directing users to Unity Mediation. ## **Android** ### **Bugfix** - Fixed a NullPointerException when Application Context is null for cached directory file path. ## [4.4.1] - 2022-10-05 ## **iOS** ### **Feature** - Generate gmae session id and save to storage ### **Bugfix** - Add sdkVersion and sdkVersionName to minimal device reader - Use Swift through reflection in obj-c ## **Android** ### **Feature** - Add experiment to remove required gesture for media playback - Generate sessionID the same way web view does and save it to unifiedconfig.data ### **Bugfix** - Fix ConfigurationReader if no remote nor local file are present. (#432) - Fix potential crash in some flavour of Android 8.1 where TimeZone API has issues. (#433) - Remove false error log message when missing applied rule for experiment object (#440) ## **Unity** ### **Feature** - removed testmode from services window in versions of unity 2020 and higher ### **Bugfix** - added batchmode check to editor dialog popup - Renamed Arial.ttf to LegacyRuntime.ttf for 2022.2 and above editor playmode support ## [4.4.0] - 2022-09-06 No changes from previous version ## [4.4.0] - 2022-09-01 ## **iOS** ### **Performance Improvements** - Network performance improvements ## **Android** ### **Bugfix** - Add tags to new Load/Show metric where missing to avoid being discarded - Align retry metric tags with iOS - Move token type into TokenListenerState class - Invert operation order to test if affecting token latency metric - Fix BannerPosition being obfuscated by ProGuard - Fix potential concurrency in Signals Storage when signals are collected in parallel. (#423) - Revert Proguard rules. (#424) ## **Unity** ### **Bugfix** - Fix sample app anchors to work in horizontal - Update screenorientation API - mediation migration copy changes ## [4.3.0] - 2022-07-27 No changes from previous version ## [4.3.0] - 2022-07-25 ## **iOS** ### **Feature** - Publishing to Artifactory - Add support for additional identifiers for SKOverlayAppConfiguration ### **Bugfix** - Fix crash related to UADSTimer - Fixed bug when show failed callback was fired when ad was closed at the start of show ## **Android** ### **Feature** - Adjusted Proguard rules for obfuscation (#225) - Introduce Privacy request before configuration Request (#317) - Introduce UnityAdsShowError.TIMEOUT when not able to show under specified time frame. (#334) ### **Bugfix** - Fix potential NPE when receiving null as purchase list for acquire optimization. (#311) - Make Load and Show timeouts lifecycle aware - Add metrics for retries in config and webview - Fix retry metric tags overriding others instead of merging - Remove the use of setAppCacheEnabled ## **Unity** ### **Feature** - Remove toggle button from project settings ads window ### **Bugfix** - Project Settings window fix 2022.1f1 ## [4.2.1] - 2022-05-11 No changes from previous version ## [4.2.1] - 2022-05-11 ## **iOS** ### **Bugfix** - Fix crash related to UADSTimer ## [4.2.0] - 2022-05-06 ### **Unity (Editor, Asset Store, & Packman)** #### **Features** - Add Sample app #### **Bug Fixes** - UADSDK-1608 Show Listener now returns appropriate callback state (benlangerak) - UADSDK-1785 Ensure callbacks are fired on the main thread (benlangerak) ## [4.1.0] - 2022-03-17 ### **Unity (Editor, Asset Store, & Packman)** #### **Bug Fixes** - Fix IUnityAdsShowCallback makes duplicate calls in Editor PlayMode ## [4.0.1] - 2022-02-02 ## **iOS** ### **Bugfix** - Fix crash that occurs when sdk attempts to invoke a callback that is null ## **Android** ### **Change** - Remove ARCore dependency - Fix for crash that occurs when using utilizing Acquire Optimization feature - Refined Google Play Store related data collection ## **Unity** ### **Bugfix** - Fix for crash that occurs when callback does not occur on main thread - Fix for crash that occurs when UnityAds is included in a tvOS build ## [4.0.0] - 2021-11-30 ## **iOS** ### **Bugfix** - Fix crash that occurs when commiting to metadata storage from multiple threads ## **Android** ### **Bugfix** - Prevent crash that would occur if Unity Ads is initialized with an empty activity ## **Unity** ### **Bugfix** - Fix Game Id textfields breaking in Windows - Remove ENABLE_EDITOR_GAME_SERVICES from Top Menu ## [3.7.5] - 2021-07-20 ### Android Fix a crash that can occur when re-initializing with null gameId ## [3.7.3] - 2021-05-26 ### Unity (Editor, Asset Store, & Packman) #### Bug Fixes [Android] Fix crash related to IllegalStateException when showing ad [Android] Fix issue with attempting to load multiple ads at the same time causing load error [iOS] Fix for crash that could occur when placementId became null [iOS] Fixed warning when trying to access UIKit from background thread [Unity] Fix a bug that caused the default placement to be unable to show ## [3.7.1] - 2021-03-31 ### Unity (Editor, Asset Store, & Packman) #### Bug Fixes [iOS] Fixed iOS memory consumption to decrease chance of impact to device performance ## [3.7.0] - 2021-03-19 ### Unity (Editor, Asset Store, & Packman) #### Features Added callbacks for the Show method signature on public API. #### Changes Improved Load method callbacks to include an error message. ## [3.6.2] - 2020-12-10 [Android] Fix a crash due to a ConcurrentModificationException ## [3.6.1] - 2020-12-10 No changes from 3.6.0 ## [3.6.0] - 2020-12-08 No changes from 3.5.2 ## [3.5.2] - 2020-11-12 No changes from 3.5.1 ## [3.5.1] - 2020-11-05 #### Bug Fixes [iOS] Address crash related to native metrics [iOS] Address crash when using UUID SKAdNetwork appsheet parameters ## [3.5.0] - 2020-08-24 ### Unity (Editor, Asset Store, & Packman) #### Features [Android, iOS] Background download WebView Update #### Changes [Android] Update targetSdkVersion to 29 [Android, iOS, Unity] Update the Unity Ads SDK License #### Bug Fixes [Android] AdUnit View doesn't regain focus after a system popup [Android] Android background audio does not resume after ad closed [Android] End card showing blank white page [iOS] Ads automatically closing when press Done button in StoreKit on iOS14 [Unity] IUnityAdsListener interface methods are called twice in some devices ## [3.4.9] - 2020-07-24 ### Unity (Editor, Asset Store, & Packman) #### Bug Fixes [Android] fix crash in Android API level 30 with getNetworkType [Unity] Error when working on unsupported platforms ## [3.4.7] - 2020-06-09 ### Unity (Editor, Asset Store, & Packman) * No visible changes from 3.4.6 ## [3.4.6] - 2020-06-04 ### Unity (Editor, Asset Store, & Packman) #### Bug Fixes [Android] InitializationState Out of Memory Crash [Android] GooglePlayStore rejection due to unsafe SSL [Android] Android readFileBytes crash [iOS] ios ads not respecting mute [iOS] Crash when calling addDelegate [Unity] Error building on unsupported platform in 2020.1+ [Unity] Remove UnityEditor.Advertisement.dll ## [3.4.5] - 2020-04-29 ### Unity (Editor, Asset Store, & Packman) * No visible changes from 3.4.4 ## [3.4.4] - 2020-03-02 ### Unity (Editor, Asset Store, & Packman) #### Bug Fixes [Editor] Fix missing reference to UnityEngine.UI ## [3.4.2] - 2020-01-15 ### Unity (Editor, Asset Store, & Packman) #### Bug Fixes [Editor] No error callback is called when an invalid game id is used in playmode [Android] Fix onUnityAdsError Exception: No such proxy method [Android] Fix FatalException from BufferredInputStream.Read() that occurs on some Android devices [iOS] Fix UnityAdsCopyString and NSStringFromIl2CppString errors when building for debug [iOS] Fix Banner is unexpectedly scaled when force landscape mode ## [3.4.1] - 2019-12-13 ### Unity (Editor, Asset Store, & Packman) #### Bug Fixes - [Android] Fixed an issue where callbacks would not dispatch on android devices - [Editor Only] Fix an issue where callbacks would not fire in the editor after running playmode more than 1 time - [Editor Only] Fix an issue where the editor canvas would not display on top of all other objects in the scene - [Editor Only] Fix an issue where the placeholder gameobject was visible in the users scene ## [3.4.0] - 2019-12-09 ### Unity (Editor, Asset Store, & Packman) #### Deprecated Monetization class. #### Features UADSDK-231 - Print warning message in Asset Store package to upgrade to packman UADSDK-232 - Restore TestMode flag from services window in Unity 2020.1+ #### Bug Fixes ABT-951 - Test ads in editor has buttons that don't stop click event propagation UADSDK-236 - OnUnityAdsReady only called once per placement when running in the Unity Editor. ABT-1057 - Google Play crash reports for SDK 3.3.1 ### iOS #### Deprecated Monetization class. #### Removed example app for Monetization. #### Deprecation of initialize method with listener as a param in favor of initialize method #### Bug Fixes UADSDK-219 - Fix iOS isWiredHeadsetOn Memory Leak ABT-1032 - iOS callback unityAdsDidError is not triggered when initialize with invalid gameId ABT-1052 - [iOS] App Crash Rate increased after upgraded to SDK 3.3.0 ABT-1061 - IronSource: count duplicated impressions caused by third party ### Android #### Deprecated Monetization class. #### Removed example app for Monetization. #### Deprecation of initialize method with listener as a param in favor of initialize method without a listener. #### Bug Fixes ABT-933 - Google / Admob App Crashing in 3.1.0 UADSDK-238 - Listener.sendErrorEvent is broken on Android UADSDK-244 - Re-Init on Android always blocks for at least 10s ABT-1057 - Google Play crash reports for SDK 3.3.1 ABT-1061 - IronSource: count duplicated impressions caused by third party ### Documentation updates #### Monetization * Updated the [Monetization Stats API](MonetizationResourcesStatistics.md): * Documented new API. * Added a migration guide from Applifier API. * New 408 error code. #### Advertising * [Audience Pinpointer](AdvertisingOptimizationAudiencePinpointer.md) is now self-serve on the Acquire dashboard. * Updated the [server-to-server install tracking](AdvertisingCampaignsInstallTracking.md) guide. #### Programmatic * Added the `bAge` field to [contextual data](ProgrammaticOptimizationContextualData.md). ## [3.3.0] - 2019-09-26 ### Unity (Editor, Asset Store, & Packman) #### Fixed * Fixed an issue where callbacks would not be executed on the main thread * Fixed an issue where calling RemoveListener in a callback would cause a crash ### iOS #### Added * OS 13 update: * Deprecated UI webview. Due to Apple's changes, Unity Ads no longer supports iOS 7 and 8. * Banner optimization: * New banner API, featuring the [`UADSBannerView`](../manual/MonetizationResourcesApiIos.html#uadsbannerview) class. * The new API supports multiple banners in a single Placement, with flexible positioning. #### Fixed * iOS 13 AppSheet crash fix ### Android #### Added * Banner optimization: * New banner API, featuring the [`BannerView`](../manual/MonetizationResourcesApiAndroid.html#bannerview) class. * The new API supports multiple banners in a single Placement, with flexible positioning. #### Fixed * WebView onRenderProcessGone crash fix ### Documentation updates #### Monetization * Added a FAQ section for [Authorized Sellers for Apps](../Manual/MonetizationResourcesFaq.html#authorized-sellers-for-apps-faqs) (`app-ads.txt`), which is now supported. #### Advertising * Added a section on [source bidding](../Manual/AdvertisingCampaignsConfiguration.html#source-bidding). * Added a section on [app targeting](../Manual/AdvertisingCampaignsConfiguration.html#app-targeting). * Removed legacy dashboard and API guides, which are no longer supported. #### Programmatic * Added Open Measurement (OM) support fields, including: * [`source.omidpn`](../manual/ProgrammaticBidRequests.html#source-objects) * [`source.omidpv`](../manual/ProgrammaticBidRequests.html#source-objects) * [`imp.video.api`](../manual/ProgrammaticBidRequests.html#video-objects) * [`bid.api`](../manual/ProgrammaticBidResponses.html#bid-objects) * Added [`app.publisher`](../manual/ProgrammaticBidRequests.html#app-objects) field. * Added the [`bAge`](../manual/ProgrammaticOptimizationContextualData.html) (blocked age rating) field. #### Legal * Updated [GDPR compliance](../manual/LegalGdpr.html) to reflect Unity's opt-in approach to consent. ## [3.2.0] - 2019-07-22 ### Unity (Editor, Asset Store, & Packman) #### Added * Added OMID viewability integration. Unity is now [IAB certified with VAST viewability](https://iabtechlab.com/blog/vast-4-1-open-measurement-the-long-awaited-video-verification-solution/). #### Fixed * In cases where you've installed both the package manager and Asset store versions of Unity Ads, the SDK now surfaces an error notifying you to remove one instance. * Fixed an Android java proxy usage issue for Unity versions below 2017. This fixes a multiple listeners crash. ### iOS #### Added * Added OMID viewability integration. Unity is now [IAB certified with VAST viewability](https://iabtechlab.com/blog/vast-4-1-open-measurement-the-long-awaited-video-verification-solution/). ### Android #### Added * Added OMID viewability integration. Unity is now [IAB certified with VAST viewability](https://iabtechlab.com/blog/vast-4-1-open-measurement-the-long-awaited-video-verification-solution/). ## [3.1.1] - 2019-05-16 #### Added * Updated the Android and iOS binaries to 3.1.0. * Support for multiple listeners. * `ASWebAuthenticationSession` support. #### Fixed * Banner memory leak. * `GetDeviceId` on Android SDK versions below 23. * Volume change event not properly captured on iOS. * `USRVStorage` JSON exception caught and handled. * Analytics `onLevelUp` taking a string instead of an integer. * Crash prevented in the `AdUnitActivity.onPause` event. * Playstation and Xbox no longer throw errors attempting to access `UnityAdsSettings` when building a Project that includes ads on other platforms. * Test mode resources folder moved to Editor-only scope. ## [3.0.3] - 2019-03-15 #### Added * Updated the Android and iOS binaries. #### Fixed * https://fogbugz.unity3d.com/f/cases/1115398/ * Uncaught exception for purchasing integration on iOS. ## [3.0.2] - 2019-02-26 #### Added * Updated the Android and iOS binaries. #### Fixed * https://fogbugz.unity3d.com/f/cases/1127423/ * https://fogbugz.unity3d.com/f/cases/1127770/ ## [3.0.1] - 2019-01-25 #### Added * Integrated the Ads 3.0.1 SDK. ## [2.3.2] - 2018-11-21 #### Added * Integrated the Ads 2.3.0 SDK with Unity 2019.X. #### Fixed * https://fogbugz.unity3d.com/f/cases/1107128/ * https://fogbugz.unity3d.com/f/cases/1108663/ ## [2.3.1] - 2018-11-15 #### Added * Updated to Ads 2.3.0 SDK. * Multithreaded Request API. * `SendEvent` API for Ads and IAP SDK communication. * New Unity integration. ## [2.2.1] - 2017-04-23 #### Fixed * Fixed issues for iOS and Android. ## [2.2.0] - 2017-03-22 #### Added * IAP Promotion support (iOS, Android). #### Fixed * Several rare crashes (iOS). #### Changed * Improved cache handling (iOS, Android). * Increased flexibility showing different ad formats (iOS, Android).