Links

Upgrade Guide

If you are upgrading from your current HyprMX 5.0+ integration to the HyprMX 6.2.0 SDK, follow the instructions below.

Updating HyprMX SDK

1. Remove the hyprmx maven url in the top level build.gradle file. HyprMX is now distributed with Maven Central.
2. Update HyprMX dependency in the app's build.gradle file:
dependencies {
implementation 'com.hyprmx.android:HyprMX-SDK:6.2.0'
}
3. If you are using Kotlin in your application, add the following to your build.gradle inside the android block:
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = [
"-Xjvm-default=compatibility",
]
}

Age Restricted User on Initializer

HyprMX’s ageRestrictedUser flag assists publishers with child-directed treatment of users to support compliance with applicable regional laws and regulations such as COPPA, GDPR and Google Play Store policies.
The initializer includes an optional ageRestrictedUser parameter. If the user requires child-directed treatment under applicable laws and policies, set this parameter to true.
Setting the ageRestrictedUser parameter is recommended for all users within applications that participate in Google Play's Families Program, are listed in Google Play’s Family section, or include children as one of the target audiences to prevent access to the AAID for end-users flagged as children.
If your app is primarily directed at children, you must indicate to your HyprMX Account Manager so the app can be designated as a child-directed app in the backend. Additionally, you may use the ageRestrictedUser flag to prevent access to the AAID for end-users flagged as children.
If your app is directed at a mixed audience, including children, you must use the ageRestrictedUser flag to appropriately flag any user who is considered a child under applicable jurisdiction as an age-restricted user to prevent access to the AAID for end-users flagged as children.
It is the responsibility of the app developer to ensure compliance with Google Play's Families Program, including, and not limited to, Google Play Families Policies.
Java
Kotlin
String distributorID = "Your Distributor ID";
String userID = "Your User's ID";
ConsentStatus consentStatus = ConsentStatus.CONSENT_STATUS_UNKNOWN; // If you don't have consent status for the user, set this to CONSENT_STATUS_UNKNOWN
HyprMXIf.HyprMXInitializationListener initializationListener;
boolean ageRestrictedUser = true; // Set this to true if the user is under 16
// Use this initializer if your app's target audience includes children.
HyprMX.INSTANCE.initialize(this, distributorID, userID, consentStatus, ageRestrictedUser, initializationListener);
val distributorID = "Your Distributor ID"
val userID = "Your User's ID"
val consentStatus = ConsentStatus.CONSENT_STATUS_UNKNOWN // If you don't have consent status for the user, set this to CONSENT_STATUS_UNKNOWN
val initializationListener: HyprMXIf.HyprMXInitializationListener = this
val ageRestrictedUser = true // Set this to true if the user is under 16
// Use this initializer if your app's target audience includes children.
HyprMX.initialize(this, distributorID, userID, consentStatus, ageRestrictedUser, initializationListener)
That's it! You're up and running with the latest version of the HyprMX SDK.

License

By integrating the HyprMX SDK, you are agreeing to the End User License Agreement.