Releases: appnexus/mobile-sdk-android
RC2.1 AppNexus Native Solution
Features:
- An native response: offline impression tracking, click handling, cookie management, etc
- MoPub native adapter
- Mraid compliance creative
- Interstitial ad queue overhaul
- static closeButtonHandler
Update mediated 3rd Party SDKs references
- Mopub 3.3.0
- Facebook 3.22
- Amazon 5.4.325
- GooglePlay 6.5.876
Bug Fixes:
- Mraid bug fixes
- lint warnings, errors, npes
- Facebook adapter bug
RC2.0
Features:
- Native api public interface
- By default use a modal dialog box loading animation during clicked ad loading
- Added new public API onActivityResume/Pause/Destroy to AdView, to be called when activity or fragment is resumed, paused or destroyed.
- Update mediated 3rd Party SDKs references
- Mopub 3.2.0
- Facebook 3.20
- Amazon 5.4.192
- GooglePlay 6.1.11
Bug Fixes:
- Catch and ignore InvalidArgumentException if thrown by 3rd Party mediated SDK.
- Removed color attribute from XML interstitial setup because of conflicts with google lollipop libs
- Format the location strings to match the truncated location.
RC1.20
AppNexus RC 1.20 Android Release Notes
New public APIs:
AdView.setLoadsInBackground(boolean)
Control the SDK’s behavior when an ad is clicked. The default behavior (true) is to load the landing page in the background until the initial payload finishes loading and present a fully rendered page to the user. Setting this to false will cause the in-app browser to immediately become visible to display the un-rendered landing page. Note that setting to false when an ad redirects to the app store may cause the in-app browser to briefly flash on the screen.
AdView.destroy()
Whenever a view’s activity or fragment is destroyed the developer must call the destroy() method of the view. This must be done in the UI thread
Setttings. setLocationDecimalDigits( int digitsAfterDecimal).
This method will ensure that any location information is rounded to the specified number of digits after the decimal. The nominal resolution of digits after the decimal to distance is 2 digits ~1 km , 3 digits ~100m , 4 digits ~10m
BannerView.setAdAlignment(enum AdAlignment)
Override the alignment of the ad within its container. The default alignment is CENTER. Use this method to align to top left, top center, top right, center left, center, center right, bottom left, bottom center or bottom right.
BannerView.transitionAnimation()
Added optional animation for banner transitions, by default the animation feature is disabled. Developer may choose from 4 transitions with optional animation direction and transition time.
3rd Party SDK updates:
Mopub 3.0.0
Amazon 5.3.22
Google Play 5.0.89
FB AudienceNetwork 3.18
Bug Fixes.
Added proguard settings for Google Play, MoPub, Facebook and Millennial. These rules should be in the main applications proguard-rules.txt file.
Min API level bumped to 9
Stability fixes to catch infrequent exceptions.
Handle a backwards/forward time synchronization gracefully
Notes:
To enable Amazon monetization your app must call
Somewhere in initialization path
import com.amazon.device.ads.AdRegistration;
AdRegistration.setAppKey(“YOUR_APP_KEY”);
RC1.19
New Features
- Additional latency measurements.
- Updated gradle and google play dependencies (5.0.77)
- ad click through load indicator (off by default).
- Include Millennial adapters in aar file
Bug fixes.
- Android ID for Advertising is always retried if initial retrieval was not successful.
- fallback to MD5/SHA1 if AAID is empty string.
- Screen turn on event in auto-refresh mode would cause additional ad retrieval.
- multiple ad calls when mediated network succeeds and additional networks are in the queue.
RC1.18
Features:
- Updated to MillennialMedia SDK 5.3.0.
- Allowed age and gender query string parameters to be set via custom keywords.
Bug Fixes:
- Fixed an intermittent NPE in
AdWebView.loadAd
. - Fixed a bug that caused mediation waterfall to continue even when successful.
RC1.17.1
Features:
- Released the Android AppNexus SDK with all supported adapters in
ANSDK.aar
. Available fromANSDK.zip
on Github or AppNexus wiki. Mediation users should include third-party SDKs in their projects separately. - Updated build.gradle files to pull from Google Play Services library.
RC1.17
Features:
- Facebook Mediation adaptors (Banner + Interstitial). Facebook SDK is NOT bundled.
- MoPub Mediation adaptors (Banner + Interstitial). MoPub SDK is NOT bundled.
- Updated legacy GoogleMobileAds/GooglePlay Mediation adaptor.
- Updated to Amazon SDK 5.3.22, including mediation for AmazonInterstitials
- SDK now automatically retrieves Advertising ID if not passed by developer and Google Play Services library is available in the project.
- Developers can now call setMaxSize() and setOverrideMaxSize() in order to force a request for an ad defined by a maximum size instead of an exact size (setAdSize()).
- Improved latency when polling multiple mediation demand sources.
- PSAs are now disabled by default (meaning an unfilled ad request will remain unfilled instead of return a PSA).
Bug Fixes:
- Fixed a visual glitch in the in-app browser where the navigation bar covered the bottom of the web view.
RC1.16
RC1.15
Features:
- AppNexus Javascript API for Mobile (ANJAM) available documentation here https://wiki.appnexus.com/display/sdk/ANJAM+User+Guide
- Allows creatives to control external vs. internal browser launch.
- Check/Fire deep links.
- Allow creatives to send custom events to applications, AppEventListener.
- Public interface for AdListener.AdRequestFailed has changed to include a ResultCode indicating the reason for failure.
- Created a global static class
SDKSettings
for SDK-wide management of user location and AAID. - Updated mediation adaptors to pull available targeting information (age, gender, location).
Bug Fixes:
- Improved the consistency of the location request parameter.
- Fixed a memory leak caused by a static reference to Context in Clog.
- Fixed issue where native dialogs within an MRAID creative would appear in the wrong window.
RC1.14
Bug Fixes:
• Fixed multiple in-app browsers possibly being launched from an onLoadResource call.
• Fixed a crash that could happen if a user clicked to launch the in-app browser multiple times in quick succession.
• Fixed a bug where Javascript was not enabled immediately for clickthrough to the in-app browser.
• Fixed a bug where mraid.removeEventListeners() could cause another listener to not be called.
• Fixed a crash from a leaked BroadcastReceiver in interstitials on ICS phones.
• Fixed a crash from logging on Javascript errors in WebViewClient.