Setting up the SDK

Before integrating

Check our "known issues" section if you encounter any integration issue.
Adjoe Sdk 2.1.0 fully support Androidx and targetSdkVersion 33.
Make sure you set targetSdkVersion 33
Note: From 1 January 2024, Adjoe Sdk 2.1.0 will be the minimum supported version.
Before you can integrate and test the SDK, you must request an SDK hash and set up your devices for testing.

Requesting the SDK hash

The SDK hash is a 32 character hexadecimal string (e.g. 1234567890abcdefgh1234567890abcd). It uniquely identifies your app to the adjoe SDK and must therefore be kept secret. You can obtain it by requesting it from your adjoe contact person.

Setting up test devices

IMPORTANT: This step must be executed before the SDK is initialized for the first time on the affected device! Note that you can always add more devices as test devices in the future, but only if you haven't initialized the SDK on the device before.
To easily test your integration of the adjoe SDK on a certain device, you can set it up as a test device. This device will then receive more apps to install and the rewards are reached faster, making it less cumbersome for you to test the integration.
To set up a device as a test device for adjoe, simply send the device's Google Advertising ID to your adjoe contact person and wait for the confirmation. You can obtain the Google Advertising ID (GAID) of your device by going to Settings > Google > Ads > My Ad-ID.
Note: When you reset the GAID, you must again register the device as a test device with the new GAID.

Add the SDK to your app

The adjoe SDK for Cordova is also compatible with Capacitor. You can use the npm packed version below.
You can download the 2.1.0 version of the adjoe SDK for Cordova here: cordova-plugin-adjoe-2.1.0.tar.gz.
Run cordova plugin add <path_to_cordova_plugin_adjoe> in your project's root directory. Replace <path_to_cordova_plugin_adjoe> with the path where you have unpacked the adjoe plugin for Cordova.
If you would like to use an npm packed version for use with npm or yarn, you can use the following: cordova-plugin-adjoe-2.1.0.tgz.