Skip to content

Commit

Permalink
Google/10.9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins committed Aug 5, 2023
1 parent 4834f92 commit 0f2990b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 23 deletions.
10 changes: 4 additions & 6 deletions Google/AppLovinMediationGoogleAdapter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand All @@ -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
Expand Down
6 changes: 6 additions & 0 deletions Google/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
8 changes: 4 additions & 4 deletions Google/GoogleAdapter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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)";
Expand Down Expand Up @@ -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)";
Expand Down
16 changes: 3 additions & 13 deletions Google/GoogleAdapter/ALGoogleMediationAdapter.m
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()

Expand Down Expand Up @@ -45,8 +45,6 @@ @implementation ALGoogleMediationAdapter
static ALAtomicBoolean *ALGoogleInitialized;
static MAAdapterInitializationStatus ALGoogleInitializatationStatus = NSIntegerMin;

static NSString *ALGoogleSDKVersion;

+ (void)initialize
{
[super initialize];
Expand Down Expand Up @@ -90,11 +88,7 @@ - (void)initializeWithParameters:(id<MAAdapterInitializationParameters>)paramete

- (NSString *)SDKVersion
{
if ( ALGoogleSDKVersion ) return ALGoogleSDKVersion;

ALGoogleSDKVersion = [GADMobileAds sharedInstance].sdkVersion;

return ALGoogleSDKVersion;
return GADGetStringFromVersionNumber([GADMobileAds sharedInstance].versionNumber);
}

- (NSString *)adapterVersion
Expand Down Expand Up @@ -803,11 +797,7 @@ - (GADAdFormat)adFormatFromParameters:(id<MASignalCollectionParameters>)paramete

- (void)setRequestConfigurationWithParameters:(id<MAAdapterParameters>)parameters
{
NSNumber *isAgeRestrictedUser = [parameters isAgeRestrictedUser];
if ( isAgeRestrictedUser )
{
[[GADMobileAds sharedInstance].requestConfiguration tagForChildDirectedTreatment: isAgeRestrictedUser.boolValue];
}
[GADMobileAds sharedInstance].requestConfiguration.tagForChildDirectedTreatment = [parameters isAgeRestrictedUser];
}

- (GADRequest *)createAdRequestForBiddingAd:(BOOL)isBiddingAd
Expand Down

0 comments on commit 0f2990b

Please sign in to comment.