From 526421bdd814987111417516ba46f6f6612d3291 Mon Sep 17 00:00:00 2001 From: jeonwt7 Date: Thu, 1 Dec 2022 16:24:44 -0800 Subject: [PATCH] Revert "VerizonAds/2.2.0.3" This reverts commit f00c6e369a54c87f62bc95ec6086901f91fe865f. --- ...AppLovinMediationVerizonAdsAdapter.podspec | 7 ++++-- VerizonAds/CHANGELOG.md | 3 --- .../ALVerizonAdsMediationAdapter.m | 23 ++----------------- 3 files changed, 7 insertions(+), 26 deletions(-) diff --git a/VerizonAds/AppLovinMediationVerizonAdsAdapter.podspec b/VerizonAds/AppLovinMediationVerizonAdsAdapter.podspec index a35147bb63..afb65a6d7c 100644 --- a/VerizonAds/AppLovinMediationVerizonAdsAdapter.podspec +++ b/VerizonAds/AppLovinMediationVerizonAdsAdapter.podspec @@ -1,8 +1,11 @@ Pod::Spec.new do |s| -s.authors = 'AppLovin Corporation' +s.authors = +{ + 'AppLovin Corporation' => 'devsupport@applovin.com' +} s.name = 'AppLovinMediationVerizonAdsAdapter' -s.version = '2.2.0.3' +s.version = '2.2.0.2' s.platform = :ios, '11.0' s.summary = 'Verizon Ads adapter used for mediation with the AppLovin MAX SDK' s.homepage = "https://github.com/CocoaPods/Specs/search?o=desc&q=#{s.name}&s=indexed" diff --git a/VerizonAds/CHANGELOG.md b/VerizonAds/CHANGELOG.md index 10659cc20e..14c9ed8de2 100644 --- a/VerizonAds/CHANGELOG.md +++ b/VerizonAds/CHANGELOG.md @@ -1,8 +1,5 @@ # Changelog -## 2.2.0.3 -* Add support for container clickability (supported in SDK v11.5.6+). - ## 2.2.0.2 * Fix native ad view ad impression issue due to missing assets in templates on older AppLovin SDKs. Yahoo native ad view ads now require AppLovin SDK version 11.5.5+. * Disable bitcode, as Apple deprecated it in Xcode 14 (https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes). diff --git a/VerizonAds/VerizonAdsAdapter/ALVerizonAdsMediationAdapter.m b/VerizonAds/VerizonAdsAdapter/ALVerizonAdsMediationAdapter.m index 022893455c..0f4c707ffb 100644 --- a/VerizonAds/VerizonAdsAdapter/ALVerizonAdsMediationAdapter.m +++ b/VerizonAds/VerizonAdsAdapter/ALVerizonAdsMediationAdapter.m @@ -10,7 +10,7 @@ #import // Major version number is '2' since certifying against the rebranded Yahoo SDK -#define ADAPTER_VERSION @"2.2.0.3" +#define ADAPTER_VERSION @"2.2.0.2" /** * Dedicated delegate object for Verizon Ads interstitial ads. @@ -1127,28 +1127,9 @@ - (instancetype)initWithParentAdapter:(ALVerizonAdsMediationAdapter *)parentAdap return self; } -- (BOOL)isContainerClickable -{ - return YES; -} - -- (void)performClick -{ - YASNativeAd *ad = self.parentAdapter.nativeAd; - if ( !ad ) - { - [self.parentAdapter e: @"Failed to perform click: Native ad is nil."]; - return; - } - - [self.parentAdapter d: @"Performing click..."]; - [self.parentAdapter.nativeAdDelegate.delegate didClickNativeAd]; - [ad invokeDefaultAction]; -} - - (void)prepareViewForInteraction:(MANativeAdView *)maxNativeAdView { - YASNativeAd *ad = ( self.format == MAAdFormat.native ) ? self.parentAdapter.nativeAd : self.parentAdapter.nativeAdViewAd; + YASNativeAd *ad = self.format == MAAdFormat.native ? self.parentAdapter.nativeAd : self.parentAdapter.nativeAdViewAd; if ( !ad ) { [self.parentAdapter e: @"Failed to register native ad view for interaction: Native ad is nil."];