Skip to content

Commit

Permalink
v: 2.7.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
can-soykarafakili committed Oct 4, 2021
1 parent 87cada6 commit 53559d2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
6 changes: 3 additions & 3 deletions GoogleMobileAds-HyBid-Adapters.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |spec|

spec.name = "GoogleMobileAds-HyBid-Adapters"
spec.version = "2.7.0.0"
spec.version = "2.7.1.0"
spec.summary = "HyBid iOS SDK Adapters (Header Bidding & Mediation) for Google Mobile Ads"
spec.description = <<-DESC
Supported ad formats:
Expand Down Expand Up @@ -35,14 +35,14 @@ Pod::Spec.new do |spec|

spec.authors = { "Can Soykarafakili" => "can.soykarafakili@pubnative.net", "Eros Garcia Ponte" => "eros.ponte@pubnative.net", "Fares Benhamouda" => "fares.benhamouda@pubnative.net", "Orkhan Alizada" => "orkhan.alizada@pubnative.net" }
spec.platform = :ios, '10.0'
spec.source = { :git => "https://github.com/pubnative/googleMobileAds-hybid-adapters-ios.git", :tag => "2.7.0.0" }
spec.source = { :git => "https://github.com/pubnative/googleMobileAds-hybid-adapters-ios.git", :tag => "2.7.1.0" }

spec.source_files = 'GoogleMobileAdsAdapters/**/*.{swift,h,m}'
spec.static_framework = true

spec.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64 arm64e armv7 armv7s', 'EXCLUDED_ARCHS[sdk=iphoneos*]' => 'i386 x86_64' }
spec.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64 arm64e armv7 armv7s', 'EXCLUDED_ARCHS[sdk=iphoneos*]' => 'i386 x86_64' }

spec.dependency 'HyBid', '2.7.0'
spec.dependency 'HyBid', '2.7.1'
spec.dependency 'Google-Mobile-Ads-SDK', '~> 8.0'
end
3 changes: 1 addition & 2 deletions GoogleMobileAdsAdapters/GAD/HyBidGADBannerCustomEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,11 @@ - (void)adView:(HyBidAdView *)adView didFailWithError:(NSError *)error {
}

- (void)adViewDidTrackImpression:(HyBidAdView *)adView {

}

- (void)adViewDidTrackClick:(HyBidAdView *)adView {
[self.delegate customEventBannerWasClicked:self];
[self.delegate customEventBannerWillLeaveApplication:self];
}

@end
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ - (void)requestInterstitialAdWithParameter:(NSString * _Nullable)serverParameter
[self invokeFailWithMessage:@"The provided app token doesn't match the one used to initialise HyBid."];
return;
}

} else {
[self invokeFailWithMessage:@"Failed interstitial ad fetch. Missing required server extras."];
return;
Expand Down Expand Up @@ -82,7 +82,6 @@ - (void)interstitialDidFailWithError:(NSError *)error {

- (void)interstitialDidTrackClick {
[self.delegate customEventInterstitialWasClicked:self];
[self.delegate customEventInterstitialWillLeaveApplication:self];
}

- (void)interstitialDidTrackImpression {
Expand Down
6 changes: 3 additions & 3 deletions GoogleMobileAdsAdapters/GAD/HyBidGADRewardedCustomEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -107,20 +107,20 @@ - (void)rewardedDidTrackImpression {

#pragma mark - GADMediationAdapter

// v: 2.7.0
// v: 2.7.1
+ (GADVersionNumber)adSDKVersion {
GADVersionNumber version = {0};
version.majorVersion = 2;
version.minorVersion = 7;
version.patchVersion = 0;
version.patchVersion = 1;
return version;
}

+ (GADVersionNumber)adapterVersion {
GADVersionNumber version = {0};
version.majorVersion = 2;
version.minorVersion = 7;
version.patchVersion = 0;
version.patchVersion = 1;
return version;
}

Expand Down
3 changes: 1 addition & 2 deletions GoogleMobileAdsAdapters/GAM/HyBidGAMBannerCustomEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ - (void)requestBannerAd:(GADAdSize)adSize
} else {
[self.adPresenter load];
}

} else {
[self invokeFailWithMessage:@"Failed banner ad fetch. Missing required server extras."];
return;
Expand All @@ -85,7 +85,6 @@ - (void)adPresenter:(HyBidAdPresenter *)adPresenter didFailWithError:(NSError *)

- (void)adPresenterDidClick:(HyBidAdPresenter *)adPresenter {
[self.delegate customEventBannerWasClicked:self];
[self.delegate customEventBannerWillLeaveApplication:self];
}

@end
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,11 @@ - (void)interstitialPresenterDidLoad:(HyBidInterstitialPresenter *)interstitialP
}

- (void)interstitialPresenterDidShow:(HyBidInterstitialPresenter *)interstitialPresenter {

}

- (void)interstitialPresenterDidClick:(HyBidInterstitialPresenter *)interstitialPresenter {
[self.delegate customEventInterstitialWasClicked:self];
[self.delegate customEventInterstitialWillLeaveApplication:self];
}

- (void)interstitialPresenterDidDismiss:(HyBidInterstitialPresenter *)interstitialPresenter {
Expand Down

0 comments on commit 53559d2

Please sign in to comment.