Skip to content

Commit

Permalink
SDK v7.12
Browse files Browse the repository at this point in the history
* commit 'f45721e8c8e8b84f0b2e9e8b7716e7fb2c3c5fd1':
  Updated release notes and sdk version
  Added fix for OMID containerGeometry event
  MS-4727 Native Assembly Custom elements (YJ)
  Fixed Unit tests
  • Loading branch information
avohraa committed Apr 19, 2021
2 parents fa4b4bc + f45721e commit f694034
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 6 deletions.
5 changes: 5 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 7.12
### Improvements/Bug Fixes
+ MS-4704 Added support for OMID containerGeometry and onScreenContainerGeometry for Instream & OutStream Video Ads
+ MS-4727 Added support for custom assets in Native Assembly Renderer

## 7.11
### Improvements/Bug Fixes
+ MS-4685 Added API to disable tracking cookies during auction.
Expand Down
50 changes: 49 additions & 1 deletion sdk/assets/apn_renderNativeAssets.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,55 @@
price: nObj.price,
salePrice: nObj.saleprice,
phone: nObj.phone,
address: nObj.address
address: nObj.address,

customTitle1: nObj.title1,
customTitle2: nObj.title2,
customTitle3: nObj.title3,
customTitle4: nObj.title4,
customTitle5: nObj.title5,

customBody1: nObj.body1,
customBody2: nObj.body2,
customBody3: nObj.body3,
customBody4: nObj.body4,
customBody5: nObj.body5,

customCta1: nObj.ctatext1,
customCta2: nObj.ctatext2,
customCta3: nObj.ctatext3,
customCta4: nObj.ctatext4,
customCta5: nObj.ctatext5,

customDisplayUrl1: nObj.displayurl1,
customDisplayUrl2: nObj.displayurl2,
customDisplayUrl3: nObj.displayurl3,
customDisplayUrl4: nObj.displayurl4,
customDisplayUrl5: nObj.displayurl5,

customSocialUrl1: nObj.socialurl1,
customSocialUrl2: nObj.socialurl2,
customSocialUrl3: nObj.socialurl3,
customSocialUrl4: nObj.socialurl4,
customSocialUrl5: nObj.socialurl5,

customImage1: nObj.image1,
customImage2: nObj.image2,
customImage3: nObj.image3,
customImage4: nObj.image4,
customImage5: nObj.image5,

customIcon1: nObj.icon1,
customIcon2: nObj.icon2,
customIcon3: nObj.icon3,
customIcon4: nObj.icon4,
customIcon5: nObj.icon5,

customSocialIcon1: nObj.socialicon1,
customSocialIcon2: nObj.socialicon2,
customSocialIcon3: nObj.socialicon3,
customSocialIcon4: nObj.socialicon4,
customSocialIcon5: nObj.socialicon5
};
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion sdk/assets/apn_vastvideo.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<script src="sdkjs.js"></script>
<script src="apn_omsdk.js"></script>
<script src="optionsparser.js"></script>
<div id="video-content" style="background-color:#000000"></div>
<div id="video-content" style="background-color:#000000" class="omid-element"></div>
<script>
var ua = getMobileOperatingSystem();

Expand Down
4 changes: 2 additions & 2 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project properties
version = "7.11"
version = "7.12"
group='com.appnexus.opensdk'

// Android build
Expand All @@ -9,7 +9,7 @@ android {
compileSdkVersion 28
buildToolsVersion '29.0.0'
defaultConfig {
versionCode 81 // An integer value that represents the version of the code, relative to other versions. Increase for each release.
versionCode 82 // An integer value that represents the version of the code, relative to other versions. Increase for each release.
versionName version
consumerProguardFiles 'proguard-project.txt'
minSdkVersion 14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public void testGetAdResponseInfoNullForBlankBannerResponse() {
}

private void executeBannerRequest() {
bannerAdView.setAutoRefreshInterval(15000);
bannerAdView.setAutoRefreshInterval(0);
bannerAdView.loadAd();

waitForTasks();
Expand Down
2 changes: 1 addition & 1 deletion sdk/test/com/appnexus/opensdk/AdListenerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public void testBannerNativeAdFailed() {
}

private void executeBannerRequest() {
bannerAdView.setAutoRefreshInterval(15000);
bannerAdView.setAutoRefreshInterval(0);
bannerAdView.loadAdOffscreen();

waitForTasks();
Expand Down

0 comments on commit f694034

Please sign in to comment.