Skip to content
Diffusion release strategy information

Android SDK

The Diffusion Android SDK is a version of the full Java SDK, which has been repackaged for compatibility in the Android ecosystem.

AndroidFull API Documentation (opens in new tab)AndroidCode examples (GitHub) (opens in new tab) Android SDK in the Diffusion manual (opens in new tab)

Usage

The Android client is compatible with Android KitKat and later.

To include the Diffusion Android APK within an Android Studio project, add it to the dependencies section of your app-level build.gradle file.

build.gradle

groovy
dependencies {
    implementation 'com.pushtechnology.diffusion:diffusion-android-client:6.12.2'
    ...
}

It's also necessary to include the additional maven repository location within your gradle configuration. The settings.gradle file at the root of your Android Studio project should declare this, for example:

settings.gradle

groovy
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven {
            url = "https://download.diffusiondata.com/maven/"
        }
    }
}

More information and guidance can be found at the Diffusion manual link above.