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.2.0-beta.1

  • Release Date: April 25th, 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.2.0-beta.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") }
    }
}

Use the Capacitor Wrapper

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