From 098f7e89b9d8a8310702c32b9edd51aa8b4790cb Mon Sep 17 00:00:00 2001 From: jenkins Date: Wed, 19 Jul 2023 17:55:46 -0700 Subject: [PATCH] Chartboost/9.4.0.0 --- .../AppLovinMediationChartboostAdapter.podspec | 12 +++++++----- Chartboost/CHANGELOG.md | 3 +++ .../ChartboostAdapter/ALChartboostMediationAdapter.m | 6 +++--- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/Chartboost/AppLovinMediationChartboostAdapter.podspec b/Chartboost/AppLovinMediationChartboostAdapter.podspec index 7626a58c53..7c5115ebf9 100644 --- a/Chartboost/AppLovinMediationChartboostAdapter.podspec +++ b/Chartboost/AppLovinMediationChartboostAdapter.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.authors = 'AppLovin Corporation' s.name = 'AppLovinMediationChartboostAdapter' -s.version = '9.3.1.0' +s.version = '9.4.0.0' s.platform = :ios, '11.0' s.summary = 'Chartboost adapter used for mediation with the AppLovin MAX SDK' s.homepage = "https://github.com/CocoaPods/Specs/search?o=desc&q=#{s.name}&s=indexed" @@ -19,14 +19,16 @@ LICENSE } s.source = -{ - :http => "https://artifacts.applovin.com/ios/com/applovin/mediation/chartboost-adapter/#{s.name}-#{s.version}.zip", - :type => 'zip' +{ + :http => "#{s.version}" =~ /beta/ ? + "https://artifacts.applovin.com/ios/com/applovin/mediation/beta/chartboost-adapter/#{s.name}-#{s.version}.zip" : + "https://artifacts.applovin.com/ios/com/applovin/mediation/chartboost-adapter/#{s.name}-#{s.version}.zip", + :type => 'zip' } s.vendored_frameworks = "#{s.name}-#{s.version}/#{s.name}.xcframework" -s.dependency 'ChartboostSDK', '= 9.3.1' +s.dependency 'ChartboostSDK', '= 9.4.0' s.dependency 'AppLovinSDK' s.swift_version = '5.0' diff --git a/Chartboost/CHANGELOG.md b/Chartboost/CHANGELOG.md index 90ce5e1a38..27d5fb352a 100644 --- a/Chartboost/CHANGELOG.md +++ b/Chartboost/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 9.4.0.0 +* Certified with Chartboost SDK 9.4.0. + ## 9.3.1.0 * Certified with Chartboost SDK 9.3.1. * Updated minimum Xcode requirement to 14.1. diff --git a/Chartboost/ChartboostAdapter/ALChartboostMediationAdapter.m b/Chartboost/ChartboostAdapter/ALChartboostMediationAdapter.m index d8a696c5d3..f686ab0f96 100644 --- a/Chartboost/ChartboostAdapter/ALChartboostMediationAdapter.m +++ b/Chartboost/ChartboostAdapter/ALChartboostMediationAdapter.m @@ -9,7 +9,7 @@ #import "ALChartboostMediationAdapter.h" #import -#define ADAPTER_VERSION @"9.3.1.0" +#define ADAPTER_VERSION @"9.4.0.0" @interface ALChartboostInterstitialDelegate : NSObject @property (nonatomic, weak) ALChartboostMediationAdapter *parentAdapter; @@ -292,7 +292,7 @@ - (MAAdapterError *)toMaxErrorFromCHBCacheError:(CHBCacheError *)chartBoostCache MAAdapterError *adapterError = MAAdapterError.unspecified; switch ( chartBoostCacheErrorCode ) { - case CHBCacheErrorCodeInternal: + case CHBCacheErrorCodeInternalError: adapterError = MAAdapterError.internalError; break; case CHBCacheErrorCodeInternetUnavailable: @@ -331,7 +331,7 @@ - (MAAdapterError *)toMaxErrorFromCHBShowError:(CHBShowError *)chartBoostShowErr MAAdapterError *adapterError = MAAdapterError.unspecified; switch ( chartBoostShowErrorCode ) { - case CHBShowErrorCodeInternal: + case CHBShowErrorCodeInternalError: case CHBShowErrorCodePresentationFailure: adapterError = MAAdapterError.internalError; break;