Share the following information with your adjoe Account Manager:
Package Name
Playstore ID
Your Account Manager will share:
SDKHash
S2S Token
API Token
In order to fully test all of the features before going live, ensure that a Sandbox application is created for your account.
If you have multiple application IDs, you should ensure that each one has a separate SDK Hash. Failure to use the right SDK hash with the associated ID will cause errors when building the SDK.
2
Check Requirements
Android 21+
Gradle 7.2.2+
minSdkVersion 21+
compileSdkVersion 23+
Androidx apps are fully supported.
3
Add the Dependency
You have an option to integrate the dependencies via Groovy or Kotlin. To understand the differences of integrating dependencies via these platforms, refer to the official Android docs.
Add adjoe's repository to the settings.gradle file:
2. Add the adjoe dependency to your app's build.gradle (module level):
4
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 INFO
You 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 ERROR
This sets the logging level to ERROR, effectively reducing the verbosity of the logs.