Skip to content

Commit

Permalink
Yandex/7.7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AppLovin-Mobile-Engineering committed Nov 19, 2024
1 parent b545755 commit fb101f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Yandex/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 7.7.0.0
* Certified with Yandex SDK 7.7.0.
* Removed exception throwing if unable to map ad view ad format to that of the network's.

## 7.6.0.1
* Add support for loading rewarded ads and configuring bidder token requests without `Activity` context.

Expand Down
2 changes: 1 addition & 1 deletion Yandex/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ afterEvaluate {
apply(plugin = "adapter-publish")
}

val libraryVersionName by extra("7.6.0.1")
val libraryVersionName by extra("7.7.0.0")

android.defaultConfig.minSdk = 21
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,11 @@ public void collectSignal(final MaxAdapterSignalCollectionParameters parameters,

updatePrivacySettings( parameters );

BidderTokenRequestConfiguration bidderTokenRequest = createBidderTokenRequestConfiguration( getContext( activity ), parameters.getAdFormat() );
Context context = getContext( activity );

BidderTokenLoader.loadBidderToken( getContext( activity ), bidderTokenRequest, new BidderTokenLoadListener()
BidderTokenRequestConfiguration bidderTokenRequest = createBidderTokenRequestConfiguration( context, parameters.getAdFormat() );

BidderTokenLoader.loadBidderToken( context, bidderTokenRequest, new BidderTokenLoadListener()
{
@Override
public void onBidderTokenLoaded(@NonNull final String bidderToken)
Expand Down Expand Up @@ -553,7 +555,7 @@ else if ( adFormat == MaxAdFormat.LEADER )
}
else
{
throw new IllegalArgumentException( "Invalid ad format: " + adFormat );
return BannerAdSize.fixedSize( context, adFormat.getSize().getWidth(), adFormat.getSize().getHeight() );
}
}

Expand Down

0 comments on commit fb101f5

Please sign in to comment.