From 0f2990bbbd5d9b48190223313a5c742a568c4815 Mon Sep 17 00:00:00 2001 From: jenkins Date: Fri, 4 Aug 2023 17:44:02 -0700 Subject: [PATCH] Google/10.9.0.0 --- Google/AppLovinMediationGoogleAdapter.podspec | 10 ++++------ Google/CHANGELOG.md | 6 ++++++ Google/GoogleAdapter.xcodeproj/project.pbxproj | 8 ++++---- Google/GoogleAdapter/ALGoogleMediationAdapter.m | 16 +++------------- 4 files changed, 17 insertions(+), 23 deletions(-) diff --git a/Google/AppLovinMediationGoogleAdapter.podspec b/Google/AppLovinMediationGoogleAdapter.podspec index 8253983351..51b40c0b6c 100644 --- a/Google/AppLovinMediationGoogleAdapter.podspec +++ b/Google/AppLovinMediationGoogleAdapter.podspec @@ -2,8 +2,8 @@ Pod::Spec.new do |s| s.authors = 'AppLovin Corporation' s.name = 'AppLovinMediationGoogleAdapter' -s.version = '10.8.0.0' -s.platform = :ios, '10.0' +s.version = '10.9.0.0' +s.platform = :ios, '11.0' s.summary = 'Google 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 = @@ -20,15 +20,13 @@ LICENSE s.source = { - :http => "#{s.version}" =~ /beta/ ? - "https://artifacts.applovin.com/ios/com/applovin/mediation/beta/google-adapter/#{s.name}-#{s.version}.zip" : - "https://artifacts.applovin.com/ios/com/applovin/mediation/google-adapter/#{s.name}-#{s.version}.zip", + :http => "https://artifacts.applovin.com/ios/com/applovin/mediation/google-adapter/#{s.name}-#{s.version}.zip", :type => 'zip' } s.vendored_frameworks = "#{s.name}-#{s.version}/#{s.name}.xcframework" -s.dependency 'Google-Mobile-Ads-SDK', '= 10.8.0' +s.dependency 'Google-Mobile-Ads-SDK', '= 10.9.0' s.dependency 'AppLovinSDK' s.description = <<-DESC diff --git a/Google/CHANGELOG.md b/Google/CHANGELOG.md index 27ec16406f..2ef996a496 100644 --- a/Google/CHANGELOG.md +++ b/Google/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 10.9.0.0 +* Certified with Google SDK 10.9.0. +* Updated minimum Xcode requirement to 14.1. +* Fix deprecation warnings regarding `sdkVersion` and `tagForChildDirectedTreatment`. +* Updated the minimum required iOS version to 11.0 to match Google SDK. + ## 10.8.0.0 * Certified with Google SDK 10.8.0. diff --git a/Google/GoogleAdapter.xcodeproj/project.pbxproj b/Google/GoogleAdapter.xcodeproj/project.pbxproj index 6bdb684580..85aae5434a 100644 --- a/Google/GoogleAdapter.xcodeproj/project.pbxproj +++ b/Google/GoogleAdapter.xcodeproj/project.pbxproj @@ -342,7 +342,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 = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -395,7 +395,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 = 11.0; MTL_ENABLE_DEBUG_INFO = NO; ONLY_ACTIVE_ARCH = NO; SDKROOT = iphoneos; @@ -425,7 +425,7 @@ "\"${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleAppMeasurement/WithoutAdIdSupport\"", "\"${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleUserMessagingPlatform\"", ); - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = "$(inherited)"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -456,7 +456,7 @@ "\"${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleAppMeasurement/WithoutAdIdSupport\"", "\"${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleUserMessagingPlatform\"", ); - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; ONLY_ACTIVE_ARCH = NO; OTHER_LDFLAGS = "$(inherited)"; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/Google/GoogleAdapter/ALGoogleMediationAdapter.m b/Google/GoogleAdapter/ALGoogleMediationAdapter.m index 47db75fe00..62c708603f 100644 --- a/Google/GoogleAdapter/ALGoogleMediationAdapter.m +++ b/Google/GoogleAdapter/ALGoogleMediationAdapter.m @@ -16,7 +16,7 @@ #import "ALGoogleNativeAdViewDelegate.h" #import "ALGoogleNativeAdDelegate.h" -#define ADAPTER_VERSION @"10.8.0.0" +#define ADAPTER_VERSION @"10.9.0.0" @interface ALGoogleMediationAdapter () @@ -45,8 +45,6 @@ @implementation ALGoogleMediationAdapter static ALAtomicBoolean *ALGoogleInitialized; static MAAdapterInitializationStatus ALGoogleInitializatationStatus = NSIntegerMin; -static NSString *ALGoogleSDKVersion; - + (void)initialize { [super initialize]; @@ -90,11 +88,7 @@ - (void)initializeWithParameters:(id)paramete - (NSString *)SDKVersion { - if ( ALGoogleSDKVersion ) return ALGoogleSDKVersion; - - ALGoogleSDKVersion = [GADMobileAds sharedInstance].sdkVersion; - - return ALGoogleSDKVersion; + return GADGetStringFromVersionNumber([GADMobileAds sharedInstance].versionNumber); } - (NSString *)adapterVersion @@ -803,11 +797,7 @@ - (GADAdFormat)adFormatFromParameters:(id)paramete - (void)setRequestConfigurationWithParameters:(id)parameters { - NSNumber *isAgeRestrictedUser = [parameters isAgeRestrictedUser]; - if ( isAgeRestrictedUser ) - { - [[GADMobileAds sharedInstance].requestConfiguration tagForChildDirectedTreatment: isAgeRestrictedUser.boolValue]; - } + [GADMobileAds sharedInstance].requestConfiguration.tagForChildDirectedTreatment = [parameters isAgeRestrictedUser]; } - (GADRequest *)createAdRequestForBiddingAd:(BOOL)isBiddingAd