Skip to content

Commit

Permalink
SDK v7.5
Browse files Browse the repository at this point in the history
* commit 'fc53fda3d31a5fe6840117c8f5100bf70a9b90d1': (71 commits)
  SDK v7.5 Release notes
  SDK v7.5
  remove logs used for testing
  MS-4384 Auction Timeout
  Merge pull request #604 in MOBILE-SDK/app_mobile-sdk-ios from MS-4450_FB_Adaptors_Upgrade to develop
  Merge pull request #603 in MOBILE-SDK/app_mobile-sdk-ios from NativeAd_Setup_Crash to develop
  removed unwanted property
  Fixed HTTPCookie
  removed project file changes
  removed warmup class
  OMSDK 1.3.7
  added time stack for the changes
  modified copyright
  made changes to the webview loading
  pull develop files
  removed unwanted files
  removing unit test fixes
  fixed code review comments
  remove macros & fix unit tests
  removed the timer code
  ...
  • Loading branch information
asharmaa committed Aug 5, 2020
2 parents 0b1b6cc + fc53fda commit f87a0f0
Show file tree
Hide file tree
Showing 54 changed files with 1,585 additions and 528 deletions.
6 changes: 3 additions & 3 deletions AppNexusSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "AppNexusSDK"
s.version = "7.4.1"
s.version = "7.5"
s.platform = :ios, "9.0"

s.summary = "AppNexus iOS Mobile Advertising SDK"
Expand Down Expand Up @@ -45,15 +45,15 @@ DESC

s.subspec 'FacebookCSRAdapter' do |subspec|
subspec.dependency 'AppNexusSDK/AppNexusSDK', "#{s.version}"
subspec.dependency 'FBAudienceNetwork', '5.9.0'
subspec.dependency 'FBAudienceNetwork', '5.10.1'
subspec.source_files = "csr/Facebook/*.{h,m}"
subspec.public_header_files = "csr/Facebook/*.h"
subspec.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '${PODS_ROOT}/FBAudienceNetwork/**' }
end

s.subspec 'FacebookAdapter' do |subspec|
subspec.dependency 'AppNexusSDK/AppNexusSDK', "#{s.version}"
subspec.dependency 'FBAudienceNetwork', '5.9.0'
subspec.dependency 'FBAudienceNetwork', '5.10.1'
subspec.source_files = "mediation/mediatedviews/Facebook/*.{h,m}"
subspec.public_header_files = "mediation/mediatedviews/Facebook/ANAdAdapterNativeFacebook.h"
subspec.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '${PODS_ROOT}/FBAudienceNetwork/**' }
Expand Down
12 changes: 12 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 7.5
### New Feature
+ MS-4384: Added support for Auction timeout [https://wiki.xandr.com/x/noS1Bg]

### Mediation partner upgrade
+ MS-4450 : Updated FacebookAd SDK to v5.10.1

### Improvements/Bug Fixes
+ MS-4233: Updated Open Measurement SDK to v1.3.7
+ MS-4301: Minor performance tweaks to Banner Ad rendering
+ MS-4405: Fixed issue with NSHTTPCookieStorage being set based on purposeConsent value

## 7.4.1

### Improvements/Bug Fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ @interface BannerAdViewController () <ANBannerAdViewDelegate>

@property (nonatomic, readwrite, strong) ANBannerAdView *banner;


@property (nonatomic, readwrite, strong) NSDate *processStart;
@property (nonatomic, readwrite, strong) NSDate *processEnd;
@property (nonatomic, readwrite, strong) NSDate *previousDifference;
@end

@implementation BannerAdViewController
Expand All @@ -34,7 +36,12 @@ - (void)viewDidLoad

int adWidth = 300;
int adHeight = 250;
NSString *adID = @"19212468";
NSString *adID = @"15215010";

int adWidth1 = 320;
int adHeight1 = 50;
NSString *inventoryCode = @"finanzen.net-app_ios_phone-home_index-banner";
NSInteger memberID = 7823;

// We want to center our ad on the screen.
CGRect screenRect = [[UIScreen mainScreen] bounds];
Expand All @@ -46,24 +53,38 @@ - (void)viewDidLoad
CGSize size = CGSizeMake(adWidth, adHeight);

// Make a banner ad view.
self.banner = [ANBannerAdView adViewWithFrame:rect placementId:adID adSize:size];
//self.banner = [ANBannerAdView adViewWithFrame:rect placementId:adID adSize:size];

// Needed for when we create our ad view.
CGRect rect1 = CGRectMake(originX, originY, adWidth1, adHeight1);
CGSize size1 = CGSizeMake(adWidth1, adHeight1);

self.banner = [[ANBannerAdView alloc] initWithFrame:rect1 memberId:memberID inventoryCode:inventoryCode adSize:size1];
self.banner.rootViewController = self;
self.banner.delegate = self;
[self.view addSubview:self.banner];

// Since this example is for testing, we'll turn on PSAs and verbose logging.
self.banner.shouldServePublicServiceAnnouncements = NO;
self.banner.autoRefreshInterval = 10;

// Load an ad.
self.processStart = [NSDate date];
[self.banner loadAd];
}

- (void)adDidReceiveAd:(id)ad {
NSLog(@"Ad did receive ad");
self.processEnd = [NSDate date];
NSTimeInterval executionTime = [self.processEnd timeIntervalSinceDate:self.processStart];
NSLog(@"Updated Ad rendered at: %f", executionTime*1000);
}

-(void)ad:(id)ad requestFailedWithError:(NSError *)error{
NSLog(@"Ad request Failed With Error");
self.processEnd = [NSDate date];
NSTimeInterval executionTime = [self.processEnd timeIntervalSinceDate:self.processStart];
NSLog(@"Updated Ad delivery failed at: %f", executionTime*1000);
}

- (void)didReceiveMemoryWarning
Expand Down
10 changes: 5 additions & 5 deletions sdk/AppNexusSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -606,9 +606,9 @@
4F7332821FC35BBD00A206A2 /* AVKit.framework in Frameworks */,
8AFC04611A2E74C800BEA485 /* CoreGraphics.framework in Frameworks */,
8AFC04651A2E751200BEA485 /* CoreTelephony.framework in Frameworks */,
0EA0790B2328E05200FB5764 /* OMSDK_Appnexus.framework in Frameworks */,
8AFC046D1A2E75A300BEA485 /* MediaPlayer.framework in Frameworks */,
8AFC04711A2E760800BEA485 /* MessageUI.framework in Frameworks */,
0EA0790B2328E05200FB5764 /* OMSDK_Appnexus.framework in Frameworks */,
8AFC046B1A2E757900BEA485 /* QuartzCore.framework in Frameworks */,
8AFC04731A2E78E400BEA485 /* StoreKit.framework in Frameworks */,
8AFC04671A2E752E00BEA485 /* SystemConfiguration.framework in Frameworks */,
Expand Down Expand Up @@ -1513,7 +1513,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = "";
MARKETING_VERSION = 7.4.1;
MARKETING_VERSION = 7.5;
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "corp.appnexus.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -1549,7 +1549,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = "";
MARKETING_VERSION = 7.4.1;
MARKETING_VERSION = 7.5;
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "corp.appnexus.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -1701,7 +1701,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = "";
MARKETING_VERSION = 7.4.1;
MARKETING_VERSION = 7.5;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.appnexus.AppNexusNativeSDK;
Expand Down Expand Up @@ -1746,7 +1746,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = "";
MARKETING_VERSION = 7.4.1;
MARKETING_VERSION = 7.5;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.appnexus.AppNexusNativeSDK;
Expand Down
5 changes: 5 additions & 0 deletions sdk/sourcefiles/ANSDKSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ Get AppNexus SDK Version
*/
@property (nonatomic, readonly, strong, nonnull) NSString *sdkVersion;

/*!
* The amount of time, in milliseconds, to wait for a bidder to respond to a bid request, Default is zero
*/
@property (nonatomic, readwrite, assign) NSUInteger auctionTimeout;


+ (nonnull instancetype)sharedInstance;

Expand Down
25 changes: 13 additions & 12 deletions sdk/sourcefiles/Resources/MobileVastPlayer.js

Large diffs are not rendered by default.

Loading

0 comments on commit f87a0f0

Please sign in to comment.