SparrowDesk

Android

Add the SparrowDesk Mobile SDK to an Android app with JitPack and Gradle

Android artifacts are published on JitPack from the sparrowdesk-mobile-sdk repository. Minimum SDK is API 24.

1. JitPack repository

Add JitPack to settings.gradle.kts (or the equivalent in Groovy):

dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven { url = uri("https://jitpack.io") }
    }
}

2. Dependency

In your app module build.gradle.kts:

dependencies {
    implementation("com.github.SparrowDesk.sparrowdesk-mobile-sdk:sparrowdesk-sdk:0.1.1")
}

See releases to pin a different version.

3. Internet permission

The library declares the INTERNET permission in its own manifest, so you do not need to add it again for the SDK.

Verify the import

import com.sparrowdesk.sdk.SparrowDeskConfig
import com.sparrowdesk.sdk.SparrowDeskSDK

Next steps

See the API reference for SparrowDeskConfig, SparrowDeskSDK, attach, and every public method. The overview has a high-level quick start; the upstream README has a full Kotlin example.