This commit is contained in:
jenkins 2022-05-06 20:04:02 -07:00
Родитель adc559e388
Коммит c542d3385b
3 изменённых файлов: 11 добавлений и 8 удалений

Просмотреть файл

@ -5,7 +5,7 @@ s.authors =
'AppLovin Corporation' => 'devsupport@applovin.com'
}
s.name = 'AppLovinMediationTapjoyAdapter'
s.version = '12.10.0.0'
s.version = '12.10.0.1'
s.platform = :ios, '9.0'
s.summary = 'Tapjoy adapter used for mediation with the AppLovin MAX SDK'
s.homepage = "https://github.com/CocoaPods/Specs/search?o=desc&q=#{s.name}&s=indexed"

Просмотреть файл

@ -1,5 +1,8 @@
# Changelog
## 12.10.0.1
* Update ad display failed error code.
## 12.10.0.0
* Certified with Tapjoy SDK 12.10.0.

Просмотреть файл

@ -9,7 +9,7 @@
#import "ALTapjoyMediationAdapter.h"
#import <Tapjoy/Tapjoy.h>
#define ADAPTER_VERSION @"12.10.0.0"
#define ADAPTER_VERSION @"12.10.0.1"
@interface ALTapjoyMediationAdapterInterstitialDelegate : NSObject<TJPlacementDelegate, TJPlacementVideoDelegate>
@property (nonatomic, weak) ALTapjoyMediationAdapter *parentAdapter;
@ -193,7 +193,7 @@
else
{
[self log: @"Interstitial ad not ready"];
[delegate didFailToDisplayInterstitialAdWithError: MAAdapterError.adNotReady];
[delegate didFailToDisplayInterstitialAdWithError: [MAAdapterError errorWithCode: -4205 errorString: @"Ad Display Failed"]];
}
}
@ -251,7 +251,7 @@
else
{
[self log: @"Rewarded ad not ready"];
[delegate didFailToDisplayRewardedAdWithError: MAAdapterError.adNotReady];
[delegate didFailToDisplayRewardedAdWithError: [MAAdapterError errorWithCode: -4205 errorString: @"Ad Display Failed"]];
}
}
@ -458,8 +458,8 @@
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
MAAdapterError *adapterError = [MAAdapterError errorWithCode: MAAdapterError.unspecified.errorCode
errorString: MAAdapterError.unspecified.errorMessage
MAAdapterError *adapterError = [MAAdapterError errorWithCode: -4205
errorString: @"Ad Display Failed"
thirdPartySdkErrorCode: 0
thirdPartySdkErrorMessage: errorMessage];
[self.delegate didFailToDisplayInterstitialAdWithError: adapterError];
@ -553,8 +553,8 @@
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
MAAdapterError *adapterError = [MAAdapterError errorWithCode: MAAdapterError.unspecified.errorCode
errorString: MAAdapterError.unspecified.errorMessage
MAAdapterError *adapterError = [MAAdapterError errorWithCode: -4205
errorString: @"Ad Display Failed"
thirdPartySdkErrorCode: 0
thirdPartySdkErrorMessage: errorMessage];
[self.delegate didFailToDisplayRewardedAdWithError: adapterError];