Skip to content

Commit

Permalink
Criteo/4.9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins committed May 25, 2023
1 parent 1e81c7b commit c95e79b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 18 deletions.
4 changes: 2 additions & 2 deletions Criteo/AppLovinMediationCriteoAdapter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Pod::Spec.new do |s|

s.authors = 'AppLovin Corporation'
s.name = 'AppLovinMediationCriteoAdapter'
s.version = '4.8.0.0'
s.version = '4.9.0.0'
s.platform = :ios, '12.0'
s.summary = 'Criteo 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 All @@ -27,7 +27,7 @@ Pod::Spec.new do |s|

s.vendored_frameworks = "#{s.name}-#{s.version}/#{s.name}.xcframework"

s.dependency 'CriteoPublisherSdk', '= 4.8.0'
s.dependency 'CriteoPublisherSdk', '= 4.9.0'
s.dependency 'AppLovinSDK'
s.swift_version = '5.0'

Expand Down
3 changes: 3 additions & 0 deletions Criteo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 4.9.0.0
* Certified with Criteo SDK 4.9.0.

## 4.8.0.0
* Certified with Criteo SDK 4.8.0.
* Return the correct SDK version.
Expand Down
12 changes: 0 additions & 12 deletions Criteo/CriteoAdapter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@
ENABLE_BITCODE = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = "";
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand All @@ -278,7 +277,6 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LIBRARY_SEARCH_PATHS = "";
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -324,7 +322,6 @@
ENABLE_BITCODE = NO;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = "";
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
Expand All @@ -334,7 +331,6 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LIBRARY_SEARCH_PATHS = "";
MTL_ENABLE_DEBUG_INFO = NO;
ONLY_ACTIVE_ARCH = NO;
SDKROOT = iphoneos;
Expand All @@ -353,16 +349,12 @@
DEVELOPMENT_TEAM = X8JXXK4FF5;
ENABLE_BITCODE = NO;
EXCLUDED_ARCHS = "$(inherited) i386";
FRAMEWORK_SEARCH_PATHS = "$(inherited)/**";
HEADER_SEARCH_PATHS = "$(inherited)/**";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LIBRARY_SEARCH_PATHS = "$(inherited)";
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "${inherited}";
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SYSTEM_FRAMEWORK_SEARCH_PATHS = "$(inherited)";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -377,16 +369,12 @@
DEVELOPMENT_TEAM = X8JXXK4FF5;
ENABLE_BITCODE = NO;
EXCLUDED_ARCHS = "$(inherited) i386";
FRAMEWORK_SEARCH_PATHS = "$(inherited)/**";
HEADER_SEARCH_PATHS = "$(inherited)/**";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LIBRARY_SEARCH_PATHS = "$(inherited)";
ONLY_ACTIVE_ARCH = NO;
OTHER_CFLAGS = "${inherited}";
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SYSTEM_FRAMEWORK_SEARCH_PATHS = "$(inherited)";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand Down
8 changes: 4 additions & 4 deletions Criteo/CriteoAdapter/ALCriteoMediationAdapter.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import "ALCriteoMediationAdapter.h"
#import <CriteoPublisherSdk/CriteoPublisherSdk.h>

#define ADAPTER_VERSION @"4.8.0.0"
#define ADAPTER_VERSION @"4.9.0.0"
#define PUB_ID_KEY @"pub_id"

@interface ALCriteoInterstitialDelegate : NSObject <CRInterstitialDelegate>
Expand Down Expand Up @@ -474,12 +474,12 @@ - (void)nativeLoader:(CRNativeLoader *)loader didReceiveAd:(CRNativeAd *)ad
dispatchOnMainQueue(^{

MANativeAd *maxNativeAd = [[MACriteoNativeAd alloc] initWithParentAdapter: self.parentAdapter builderBlock:^(MANativeAdBuilder *builder) {
builder.icon = iconImage;
builder.title = ad.title;
builder.advertiser = ad.advertiserDomain;
builder.body = ad.body;
builder.mediaView = mediaView;
builder.callToAction = ad.callToAction;
builder.icon = iconImage;
builder.mediaView = mediaView;
}];

[self.parentAdapter log: @"Native ad loaded: %@", self.placementIdentifier];
Expand Down Expand Up @@ -562,7 +562,7 @@ - (instancetype)initWithParentAdapter:(ALCriteoMediationAdapter *)parentAdapter

- (void)prepareViewForInteraction:(MANativeAdView *)maxNativeAdView
{
[self prepareForInteractionClickableViews: nil withContainer: maxNativeAdView];
[self prepareForInteractionClickableViews: @[] withContainer: maxNativeAdView];
}

- (BOOL)prepareForInteractionClickableViews:(NSArray<UIView *> *)clickableViews withContainer:(UIView *)container
Expand Down

0 comments on commit c95e79b

Please sign in to comment.