Get Started
Get Your SDK Hash
Contact your Account Manager to get an SDK hash for your app. Or if you already have access, it can be retrieved from the Monetize Dashboard.
The SDK hash is a unique 32-character code that uniquely identifies your app within adjoe's systems. Each app receives a distinct hash. Remember to keep your hash confidential to prevent unauthorized use.
Enable SandboxMode
To fully test the Playtime SDK integration and access all campaign types, configure your application to be in "SandboxMode". Contact your Account Manager to have this setting enabled for your environment.
Troubleshooting: If you do not see any apps returned or if you run into any errors after this setting is enabled, please try a fresh install.
Add the Playtime Studio SDK Dependency
Add adjoe's repository to your root
build.gradle(project level):
allprojects {
repositories {
...
maven {
url "https://releases.adjoe.io/maven"
}
}
}Add the adjoe dependency to your app's
build.gradle(module level):
dependencies {
...
implementation 'io.adjoe:adjoe-sdk-android:4.1.1'
}If you use Kotlin DSL for adding dependencies, add the repo in the settings.gradle.kts
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url = uri("https://releases.adjoe.io/maven") }
}
}Add adjoe's repository to the
settings.gradlefile:
2. Add the adjoe dependency to your app's build.gradle (module level):
Enable Logs
Enabling logging per device within the SDK is crucial for troubleshooting. Turn on logging and include the logs with any bug reports to help us accurately replicate and address issues.
Here’s how to enable logging:
Connect the device to your computer and enable ADB.
In a terminal window, run the following command to activate logging:
adb shell setprop log.tag.Playtime INFOYou can now filter LogCat using the Playtime tag to monitor relevant log output. If you wish to disable logging, simply execute the command:
adb shell setprop log.tag.Playtime ERRORThis sets the logging level to ERROR, effectively reducing the verbosity of the logs.
Last updated