Skip to content

Conversation

@sanderson82
Copy link

@sanderson82 sanderson82 commented Jul 21, 2025

Description by Korbit AI

What change is being made?

Add the HyprMX SDK integration by creating a new directory with essential files for the adapter setup, including implementation details for banner, interstitial, and rewarded ad formats.

Why are these changes being made?

The integration of HyprMX SDK aims to extend the ad mediation capabilities of the application by providing additional ad-serving infrastructure. This addition allows the application to support a variety of ad formats and improve monetization strategies through better ad fill rates and enhanced targeting offered by HyprMX.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

@korbit-ai
Copy link

korbit-ai bot commented Jul 21, 2025

Based on your review schedule, I'll hold off on reviewing this PR until it's marked as ready for review. If you'd like me to take a look now, comment /korbit-review.

Your admin can change your review schedule in the Korbit Console

@svc-al-snyk-mobile
Copy link
Collaborator

svc-al-snyk-mobile commented Jul 21, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

@sanderson82 sanderson82 marked this pull request as ready for review July 21, 2025 20:34
@sanderson82 sanderson82 changed the title Return HyprMX Add HyprMX 6.4.3.0 Jul 21, 2025
@sanderson82
Copy link
Author

sanderson82 commented Jul 21, 2025

Needs dependency bump to use 6.4.3 version of HyprMX android.

Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review by Korbit AI

Korbit automatically attempts to detect when you fix issues in new commits.
Category Issue Status
Functionality Unspecified Coroutines Version ▹ view
Design Inconsistent plugin application pattern ▹ view
Readability Overly Complex Boolean Logic ▹ view
Files scanned
File Path Reviewed
HyprMX/build.gradle.kts
HyprMX/src/main/java/com/applovin/mediation/adapters/HyprMXMediationAdapter.java

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

val libraryVersionName by extra("6.4.3.0")

dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:+")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unspecified Coroutines Version category Functionality

Tell me more
What is the issue?

Using the '+' version notation for dependencies can lead to unpredictable builds and runtime behavior

Why this matters

Each build might pull a different version of coroutines, potentially introducing incompatibilities or bugs in production that weren't present during testing

Suggested change ∙ Feature Preview

Specify a fixed version for the coroutines dependency. For example:

implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
Provide feedback to improve future suggestions

Nice Catch Incorrect Not in Scope Not in coding standard Other

💬 Looking for more details? Reply to this comment to chat with Korbit.

Comment on lines +1 to +7
plugins {
id("adapter-config")
}

afterEvaluate {
apply(plugin = "adapter-publish")
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent plugin application pattern category Design

Tell me more
What is the issue?

The design splits plugin application across two different methods (plugins block and afterEvaluate), making the build configuration harder to understand and maintain.

Why this matters

This structure creates unnecessary complexity and makes it harder to reason about when plugins are applied. The afterEvaluate block should be avoided when possible as it makes the build script's execution order less predictable.

Suggested change ∙ Feature Preview

Consolidate plugin declarations in the plugins block when possible:

plugins {
    id("adapter-config")
    id("adapter-publish")
}
Provide feedback to improve future suggestions

Nice Catch Incorrect Not in Scope Not in coding standard Other

💬 Looking for more details? Reply to this comment to chat with Korbit.

Comment on lines +300 to +311
if ( ( isNull( isDoNotSell ) || isFalse( isDoNotSell ) ) && isTrue( hasUserConsent ) )
{
return ConsentStatus.CONSENT_GIVEN;
}
else if ( isTrue( isDoNotSell ) || isFalse( hasUserConsent ) )
{
return ConsentStatus.CONSENT_DECLINED;
}
else
{
return ConsentStatus.CONSENT_STATUS_UNKNOWN;
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overly Complex Boolean Logic category Readability

Tell me more
What is the issue?

The consent status logic uses helper methods isTrue/isFalse/isNull which make the boolean logic harder to follow than necessary.

Why this matters

Complex boolean expressions become more difficult to understand when wrapped in helper methods. This increases cognitive load when trying to understand the business logic.

Suggested change ∙ Feature Preview
if (hasUserConsent != null && hasUserConsent && (isDoNotSell == null || !isDoNotSell)) {
    return ConsentStatus.CONSENT_GIVEN;
} else if ((isDoNotSell != null && isDoNotSell) || (hasUserConsent != null && !hasUserConsent)) {
    return ConsentStatus.CONSENT_DECLINED;
} else {
    return ConsentStatus.CONSENT_STATUS_UNKNOWN;
}
Provide feedback to improve future suggestions

Nice Catch Incorrect Not in Scope Not in coding standard Other

💬 Looking for more details? Reply to this comment to chat with Korbit.

@irov
Copy link

irov commented Oct 16, 2025

Hi team, could you share an estimate for when HyprMX 6.4.3 will be integrated and released in the MAX adapter? We need the 16KB page size support for Android 15. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants