Beta Program

Want to be the first to experience new SDK features? Test out the beta of the SDK and shape the future of our product.

Changelog:

v3.3.0-beta.2

  • Release Date: July 7th, 2025

  • minSdkVersion 21+

Bug fixes 🪲

  • Fix improper TLS check

Features and Improvements

  • Support Android 15 Window Inset Changes

  • Add enhanced detection of suspicious users

  • Support Capacitor Wrapper (More on this below)

Update the dependency:

  1. Add adjoe's repository to your root build.gradle (project level):

allprojects {
    repositories {
        ...
        maven {
            url  "https://releases.adjoe.io/maven"
        }
    }
}
  1. Add the adjoe dependency to your app's build.gradle (module level):

dependencies {
    ...
    implementation 'io.adjoe:adjoe-sdk-android:3.3.0-beta.2'
}

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") }
    }
}

Capacitor Wrapper

Add the dependency

At the moment, Capacitor framework is only available for 3.2.0-beta.1

  • Download the 3.2.0-beta.1 version of the adjoe SDK for Capacitor here: adjoe-capacitor-plugin-3.2.0-beta.1.tgz.

  • After you have downloaded it, add the Adjoe SDK to your app by running the command: $ npm install --save path/to/adjoe-capacitor-plugin-3.2.0-beta.1.tgz in your app's root directory. This will extract the files from the tarball, add them to the node_modules folder and add an entry to your package.json.

  • If you already added Android platform to your project you can skip this step and go to step 4 Install Android platfrom: npm install @capacitor/android Add Android platfrom: npx cap add android

  • Open your build.gradle file in the android folder and add the following section:

    Copy

    allprojects {
        repositories {
            maven {
                url  "https://releases.adjoe.io/maven"
            }
        }
    }
  • Sync your project: npx cap sync android

Part 1: Initialization

Playtime.init(
    {
        apiKey: SDK_HASH //MANDATORY,
        userId: "VALUE" // OPTIONAL,
        applicationProcessName: "VALUE" // OPTIONAL,
        playtimeParams: { // OPTIONAL
            uaNetwork: "VALUE", // OPTIONAL
            uaChannel: "VALUE", // OPTIONAL
            uaSubPublisherCleartext: "VALUE", // OPTIONAL
            uaSubPublisherEncrypted: "VALUE", // OPTIONAL
            placement: "VALUE" // OPTIONAL
        },
        playtimeExtension: { // OPTIONAL
              subId1: "VALUE", // OPTIONAL
              subId2: "VALUE", // OPTIONAL
              subId3: "VALUE", // OPTIONAL
              subId4: "VALUE", // OPTIONAL
              subId5: "VALUE" // OPTIONAL
        },
        playtimeUserProfile: { // OPTIONAL
              gender: "VALUE", // OPTIONAL
              birthday: "VALUE" // OPTIONAL
        }
    })
    .then(() => //INITIALIZATION FINISHED SUCCESSFULLY )
    .catch((err) => //HANDLE ERROR)

Part 2: Show Catalog

Playtime.showCatalog({ // PARAMETER IS OPTIONAL
	'uaNetwork': "uaNetwork_value",
	'uaChannel': "uaChannel_value",
	'uaSubPublisherCleartext': "uaSubPublisherCleartext_value",
	'uaSubPublisherEncrypted': "uaSubPublisherEncrypted_value",
	'placement': 'placement_value'
})
    .then(() => {
        console.log('Now showing Playtime catalog');
    })
    .catch((err) => {
        console.log('Could not show Playtime catalog');
        console.error(err);
    });

Last updated