Skip to content

Commit

Permalink
4.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-lee committed Dec 11, 2017
1 parent 190ece1 commit 410088f
Show file tree
Hide file tree
Showing 71 changed files with 1,727 additions and 416 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ TapJoyCustomEvent/
MoPubSwiftSampleApp/
/Pods
AdNetworkSupport/InMobi/
Jenkinsfile
2 changes: 1 addition & 1 deletion AdNetworkSupport/Facebook/FacebookBannerCustomEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#endif

/*
* Certified with Facebook Audience Network 4.26
* Certified with Facebook Audience Network 4.26.1
*/
@interface FacebookBannerCustomEvent : MPBannerCustomEvent

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#endif

/*
* Certified with Facebook Audience Network 4.26
* Certified with Facebook Audience Network 4.26.1
*/
@interface FacebookInterstitialCustomEvent : MPInterstitialCustomEvent

Expand Down
2 changes: 1 addition & 1 deletion AdNetworkSupport/Facebook/FacebookNativeCustomEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#endif

/*
* Certified with Facebook Audience Network 4.26
* Certified with Facebook Audience Network 4.26.1
*/
@interface FacebookNativeCustomEvent : MPNativeCustomEvent

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#import "MPRewardedVideoCustomEvent.h"

/*
* Certified with Facebook Audience Network 4.26
* Certified with Facebook Audience Network 4.26.1
*/
@interface FacebookRewardedVideoCustomEvent : MPRewardedVideoCustomEvent

Expand Down
2 changes: 1 addition & 1 deletion AdNetworkSupport/Flurry/FlurryBannerCustomEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#endif

/*
* Certified with Flurry 8.0.0
* Certified with Flurry 8.2.2
*/
@interface FlurryBannerCustomEvent : MPBannerCustomEvent <FlurryAdBannerDelegate>

Expand Down
2 changes: 1 addition & 1 deletion AdNetworkSupport/Flurry/FlurryInterstitialCustomEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#endif

/*
* Certified with Flurry 8.0.0
* Certified with Flurry 8.2.2
*/
@interface FlurryInterstitialCustomEvent : MPInterstitialCustomEvent<FlurryAdInterstitialDelegate>

Expand Down
11 changes: 6 additions & 5 deletions AdNetworkSupport/Flurry/FlurryNativeAdAdapter.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ - (instancetype)initWithFlurryAdNative:(FlurryAdNative *)adNative
if (self) {
_adNative = adNative;
_adNative.adDelegate = self;

_properties = [self convertAssetsToProperties:adNative];
}
return self;
Expand All @@ -50,7 +50,7 @@ - (NSDictionary *)convertAssetsToProperties:(FlurryAdNative *)adNative
@"appRating": kAdStarRatingKey,
@"callToAction": kAdCTATextKey
};

NSMutableDictionary *props = [NSMutableDictionary dictionary];
for (int ix = 0; ix < adNative.assetList.count; ++ix) {
FlurryAdNativeAsset* asset = [adNative.assetList objectAtIndex:ix];
Expand All @@ -67,12 +67,12 @@ - (NSDictionary *)convertAssetsToProperties:(FlurryAdNative *)adNative
} else {
value = asset.value;
}

if (key && value) {
[props setObject:value forKey:key];
}
}

return [props copy];
}

Expand Down Expand Up @@ -108,12 +108,13 @@ - (BOOL)enableThirdPartyClickTracking

- (void)willAttachToView:(UIView *)view
{
self.adNative.trackingView = view;
self.adNative.viewControllerForPresentation = [self.delegate viewControllerForPresentingModalView];
// Can only set FlurryAdNative#videoViewContainer after setting viewControllerForPresentation
if ([self.adNative isVideoAd]) {
self.adNative.videoViewContainer = self.videoViewContainer;
}

self.adNative.trackingView = view;
}

- (void)didDetachFromView:(UIView *)view
Expand Down
2 changes: 1 addition & 1 deletion AdNetworkSupport/Flurry/FlurryNativeCustomEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#endif

/*
* Certified with Flurry 8.0.0
* Certified with Flurry 8.2.2
*/
@interface FlurryNativeCustomEvent : MPNativeCustomEvent

Expand Down
2 changes: 1 addition & 1 deletion AdNetworkSupport/Flurry/FlurryNativeVideoAdRenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@class MPStaticNativeAdRendererSettings;

/*
* Certified with Flurry 8.0.0
* Certified with Flurry 8.2.2
*/
@interface FlurryNativeVideoAdRenderer : NSObject <MPNativeAdRenderer>

Expand Down
23 changes: 23 additions & 0 deletions AdNetworkSupport/Millennial/MPMillennialRewardedVideoCustomEvent.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//
// MPMillennialRewardedVideoCustomEvent.h
//
// Created by Terence Worley on 8/25/16
// Copyright (c) 2016 MillennialMedia. All rights reserved.
//

#if __has_include(<MoPub/MoPub.h>)
#import <MoPub/MoPub.h>
#else
#import "MoPub.h"
#endif

#import <MMAdSDK/MMAdSDK.h>

/*
* Certified with Millennial Media 6.6.0
*/
@interface MPMillennialRewardedVideoCustomEvent : MPRewardedVideoCustomEvent

@property (nonatomic, readonly) MMCreativeInfo* creativeInfo;

@end
Loading

0 comments on commit 410088f

Please sign in to comment.