From 54d5b92a064d4044ddf8662695f6b2cc4aa16d74 Mon Sep 17 00:00:00 2001 From: jenkins Date: Sun, 12 Nov 2023 19:49:56 -0800 Subject: [PATCH] UnityAds/4.9.2.0 --- UnityAds/AppLovinMediationUnityAdsAdapter.podspec | 6 +++--- UnityAds/CHANGELOG.md | 4 ++++ UnityAds/UnityAdsAdapter.xcodeproj/project.pbxproj | 8 ++++---- UnityAds/UnityAdsAdapter/ALUnityAdsMediationAdapter.m | 8 ++++---- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/UnityAds/AppLovinMediationUnityAdsAdapter.podspec b/UnityAds/AppLovinMediationUnityAdsAdapter.podspec index 4d6b5eb83e..2de411801b 100644 --- a/UnityAds/AppLovinMediationUnityAdsAdapter.podspec +++ b/UnityAds/AppLovinMediationUnityAdsAdapter.podspec @@ -2,8 +2,8 @@ Pod::Spec.new do |s| s.authors = 'AppLovin Corporation' s.name = 'AppLovinMediationUnityAdsAdapter' -s.version = '4.9.1.0' -s.platform = :ios, '9.0' +s.version = '4.9.2.0' +s.platform = :ios, '10.0' s.summary = 'Unity adapter used for mediation with the AppLovin MAX SDK' s.homepage = "https://github.com/CocoaPods/Specs/search?o=desc&q=#{s.name}&s=indexed" s.license = @@ -26,7 +26,7 @@ s.source = s.vendored_frameworks = "#{s.name}-#{s.version}/#{s.name}.xcframework" -s.dependency 'UnityAds', '= 4.9.1' +s.dependency 'UnityAds', '= 4.9.2' s.dependency 'AppLovinSDK' s.swift_version = '5.0' diff --git a/UnityAds/CHANGELOG.md b/UnityAds/CHANGELOG.md index 6527dab716..9c2e77e979 100644 --- a/UnityAds/CHANGELOG.md +++ b/UnityAds/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 4.9.2.0 +* Certified with UnityAds SDK 4.9.2. +* Update the minimum required iOS version to 10.0 in Pod Spec to match UnityAds SDK. + ## 4.9.1.0 * Certified with UnityAds SDK 4.9.1. diff --git a/UnityAds/UnityAdsAdapter.xcodeproj/project.pbxproj b/UnityAds/UnityAdsAdapter.xcodeproj/project.pbxproj index aee0a1a42f..662108b67e 100644 --- a/UnityAds/UnityAdsAdapter.xcodeproj/project.pbxproj +++ b/UnityAds/UnityAdsAdapter.xcodeproj/project.pbxproj @@ -276,7 +276,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -329,7 +329,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = NO; ONLY_ACTIVE_ARCH = NO; SDKROOT = iphoneos; @@ -346,7 +346,7 @@ DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = X8JXXK4FF5; ENABLE_BITCODE = NO; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = "$(inherited)"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -364,7 +364,7 @@ DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = X8JXXK4FF5; ENABLE_BITCODE = NO; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; ONLY_ACTIVE_ARCH = NO; OTHER_LDFLAGS = "$(inherited)"; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/UnityAds/UnityAdsAdapter/ALUnityAdsMediationAdapter.m b/UnityAds/UnityAdsAdapter/ALUnityAdsMediationAdapter.m index ccc1250ea9..353fc2e9fb 100644 --- a/UnityAds/UnityAdsAdapter/ALUnityAdsMediationAdapter.m +++ b/UnityAds/UnityAdsAdapter/ALUnityAdsMediationAdapter.m @@ -9,7 +9,7 @@ #import "ALUnityAdsMediationAdapter.h" #import -#define ADAPTER_VERSION @"4.9.1.0" +#define ADAPTER_VERSION @"4.9.2.0" @interface ALUnityAdsInitializationDelegate : NSObject @property (nonatomic, weak) ALUnityAdsMediationAdapter *parentAdapter; @@ -397,7 +397,7 @@ - (void)updatePrivacyConsent:(id)parameters { UADSMetaData *privacyConsentMetaData = [[UADSMetaData alloc] init]; NSNumber *hasUserConsent = [parameters hasUserConsent]; - if ( hasUserConsent ) + if ( hasUserConsent != nil ) { [privacyConsentMetaData set: @"gdpr.consent" value: @(hasUserConsent.boolValue)]; [privacyConsentMetaData commit]; @@ -405,7 +405,7 @@ - (void)updatePrivacyConsent:(id)parameters // CCPA compliance - https://unityads.unity3d.com/help/legal/gdpr NSNumber *isDoNotSell = [parameters isDoNotSell]; - if ( isDoNotSell ) + if ( isDoNotSell != nil ) { [privacyConsentMetaData set: @"privacy.consent" value: @(!isDoNotSell.boolValue)]; // isDoNotSell means user has opted out and is equivalent to NO. [privacyConsentMetaData commit]; @@ -415,7 +415,7 @@ - (void)updatePrivacyConsent:(id)parameters [privacyConsentMetaData commit]; NSNumber *isAgeRestrictedUser = [parameters isAgeRestrictedUser]; - if ( isAgeRestrictedUser ) + if ( isAgeRestrictedUser != nil ) { [privacyConsentMetaData set: @"user.nonbehavioral" value: @(isAgeRestrictedUser.boolValue)]; [privacyConsentMetaData commit];