From 008403f00ded0f01ed5b6174ab4a2f124c65bce6 Mon Sep 17 00:00:00 2001 From: Jose Cabal-Ugaz Date: Wed, 19 Nov 2014 11:28:46 -0500 Subject: [PATCH] RC2.0 Release Notes --- RELEASE-NOTES.md | 22 ++++++++++++++++++++++ sdk/native/ANNativeAdRequest.h | 4 ++-- sdk/native/ANNativeAdResponse.h | 2 +- sdk/native/ANNativeCustomAdapter.h | 3 ++- sdk/native/ANNativeMediatedAdResponse.h | 4 ++++ 5 files changed, 31 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 9662e9f66..84d5e8c75 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,27 @@ ## RC 1.21 ++ AppNexus Native API 1.0, with support for MoPub and Facebook mediation. + +### Other Bug Fixes: + ++ ANLocation formatting on the ad call + ++ KVO removeObserver exceptions + ++ MRAID ad with custom close in expanded state did not correctly collapse back to default state. + ++ Improved importing of SDK bundle resources. + +### 3rd party SDK updates: + ++ AdMob 6.12.2 + ++ Amazon 2.1.4 + ++ Facebook 3.20 + ++ MoPub 3.2.0 + ## RC 1.20 diff --git a/sdk/native/ANNativeAdRequest.h b/sdk/native/ANNativeAdRequest.h index 4c395c334..2fdc001ee 100644 --- a/sdk/native/ANNativeAdRequest.h +++ b/sdk/native/ANNativeAdRequest.h @@ -56,7 +56,7 @@ @property (nonatomic, readwrite, assign) BOOL shouldLoadMainImage; /*! - * The delegate which is notified of a successful or failed request. + * The delegate which is notified of a successful or failed request. This should be set before calling [ANNativeAdRequest loadAd]. */ @property (nonatomic, readwrite, weak) id delegate; @@ -69,7 +69,7 @@ @end /*! - * Defines the callbacks for one load of a ANNativeAdRequest instance. + * Defines the callbacks for each load of a ANNativeAdRequest instance. */ @protocol ANNativeAdRequestDelegate diff --git a/sdk/native/ANNativeAdResponse.h b/sdk/native/ANNativeAdResponse.h index b53f1b606..4c203d9f6 100644 --- a/sdk/native/ANNativeAdResponse.h +++ b/sdk/native/ANNativeAdResponse.h @@ -25,7 +25,7 @@ * After the response is received as part of the [ANNativeAdRequest delegate] callback, a native view can * be created and the native ad elements populated. When the view is ready for display, it should be * registered with the response, and a delegate can optionally be attached to the response for callbacks - * related to actions on the native view. Here is sample code which goes through this workflow: + * related to actions on the native view. Here is a sample workflow: * * @code * - (void)adRequest:(ANNativeAdRequest *)request didReceiveResponse:(ANNativeAdResponse *)response { diff --git a/sdk/native/ANNativeCustomAdapter.h b/sdk/native/ANNativeCustomAdapter.h index ac04daeca..0994811d6 100644 --- a/sdk/native/ANNativeCustomAdapter.h +++ b/sdk/native/ANNativeCustomAdapter.h @@ -42,7 +42,7 @@ @property (nonatomic, readwrite, assign, getter=hasExpired) BOOL expired; /*! - * Should instantiate a mediated ad request and begin a mediated ad load. + * Will be called by the AppNexus SDK when a mediated native ad request should be initiated. */ - (void)requestNativeAdWithServerParameter:(NSString *)parameterString adUnitId:(NSString *)adUnitId @@ -74,6 +74,7 @@ * Should notify the mediated SDK that the native view should no longer be tracked. */ - (void)unregisterViewFromTracking; + @end /*! diff --git a/sdk/native/ANNativeMediatedAdResponse.h b/sdk/native/ANNativeMediatedAdResponse.h index 7d6da54ca..f42007f1c 100644 --- a/sdk/native/ANNativeMediatedAdResponse.h +++ b/sdk/native/ANNativeMediatedAdResponse.h @@ -20,11 +20,15 @@ /*! * Represents a response which should be created, populated, and returned * by a custom adapter. + * @see ANNativeAdResponse for descriptions of all the properties. */ @interface ANNativeMediatedAdResponse : ANNativeAdResponse /*! * Designated initializer. + * + * @param adapter The mediation adapter which provided the native assets for this response. + * @param networkCode The network code for the mediated adapter. */ - (instancetype)initWithCustomAdapter:(id)adapter networkCode:(ANNativeAdNetworkCode)networkCode;