Skip to content

Commit

Permalink
Revert "VerizonAds/2.2.0.3"
Browse files Browse the repository at this point in the history
This reverts commit f00c6e3.
  • Loading branch information
wootaejeon committed Dec 2, 2022
1 parent f00c6e3 commit 526421b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 26 deletions.
7 changes: 5 additions & 2 deletions VerizonAds/AppLovinMediationVerizonAdsAdapter.podspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
Pod::Spec.new do |s|

s.authors = 'AppLovin Corporation'
s.authors =
{
'AppLovin Corporation' => '[email protected]'
}
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"
Expand Down
3 changes: 0 additions & 3 deletions VerizonAds/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
23 changes: 2 additions & 21 deletions VerizonAds/VerizonAdsAdapter/ALVerizonAdsMediationAdapter.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#import <YahooAds/YahooAds.h>

// 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.
Expand Down Expand Up @@ -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."];
Expand Down

0 comments on commit 526421b

Please sign in to comment.