Skip to main content

Installation

The Android SDK is a Kotlin library (AAR) published on Maven Central as com.wi-das.sdk:widas.

Requirements​

  • Android 11 (API 30) or later minSdk
  • compileSdk 35 (build-tools 35.0.0)
  • JDK 17
  • Google Play Services on the device, if you issue through Play Integrity. The brokered route doesn't need it

Add the library​

Add the dependency to your app module's build.gradle.kts:

dependencies {
implementation("com.wi-das.sdk:widas:0.5.1")
}

Gradle downloads the SDK and its own dependencies (Play Integrity, Play Services base, coroutines, OkHttp, Bouncy Castle) for you, so there's nothing else to declare.

The SDK comes from Maven Central, which new Android Studio projects already include. If yours doesn't, add it to settings.gradle.kts:

dependencyResolutionManagement {
repositories {
google()
mavenCentral()
}
}
Two different names

The Maven group is com.wi-das.sdk, with a hyphen, because it follows the wi-das.com domain. The Kotlin package you import is com.widas.sdk, without one. Hyphens aren't allowed in Kotlin package names.

Minimum SDK​

Set your module's minSdk to at least 30:

android {
defaultConfig {
minSdk = 30
}
}

Passpoint needs Android 11 or later.

Import​

import com.widas.sdk.WiDAS
import com.widas.sdk.WiDASException
Fetching it isn't the same as being able to use it

Anyone can download the SDK, but holding it grants no access. Every certificate needs either your registered Broker or Play Integrity against your registered app, so an unregistered integration that calls connect() gets EntitlementMissing or AttestationRejected back. Work through Setup first.

Versioning​

The SDK is on 0.5.x for now and moves to 1.0.0 once the on-device flow is confirmed. Until then, each 0.y release can carry breaking changes, so move between minor versions deliberately rather than with a version range.

Using the SDK means accepting the Wi-DAS SDK License Agreement.

Next: Setup.