Adapter Setup
This guide explains how to import the Ogury SDK and adapter into your Android or iOS project for use with Xandr mediation.
Compatibility Requirements
Before integrating the Ogury SDK, make sure your project is compatible with it:
Android
Minimum API Level:
21
or higher.Target SDK Version:
33
or higher.Kotlin Version:
1.8.20
or higher.Permissions (in
AndroidManifest.xml
):
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
iOS
Xcode version:
15
or later.Target iOS version:
12
or later.
Import the Ogury SDK and Adapter on Android
Add the Ogury Maven repository in your settings.gradle
:
// settings.gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
// Add Ogury's repository
maven {
url 'https://maven.ogury.co'
}
}
}
Then, add the Ogury SDK and adapter dependencies in your module-level build.gradle
(usually app/build.gradle
):
// build.gradle (Module: app)
dependencies {
// import the Ogury SDK
implementation 'co.ogury:ogury-sdk:6.+'
// import the Ogury Adapter for Xandr mediation
implementation 'co.ogury:ogury-mediation-xandr:6.+'
// ... other dependencies
}
Import Ogury SDK and Adapter on iOS
Open your application's Podfile
and add the following line inside your app target:
pod 'OguryMediationXandr'
What’s Next?
Continue to the Dashboard Setup section to complete the integration and link your Ogury ad units within the Xandr interface.
Additional Resources
For information on privacy and regulatory compliance, see the Privacy Compliance section.
Last updated
Was this helpful?