sdk-android

ISIC Virtual ID & Discounts SDK documentation.

This SDK should provide an easy way to show Virtual ID and/or discounts in 3rd party native mobile applications.

Project Setup

Add repositories to (dependencyResolutionManagement scope):

settings.gradle

    repositories {
maven {
url "https://jitpack.io"
}
maven {
url "https://developers.isic.org/repositories/maven/releases"
}
}

OR settings.gradle.kts

    repositories {
maven(url = "https://jitpack.io")
maven(url = "https://developers.isic.org/repositories/maven/releases")
}

Enable databinding in app's build.gradle:

    android {
buildFeatures {
dataBinding true
}
}

OR in build.gradle.kts:

android {
buildFeatures {
dataBinding = true
}
}

Add SDK dependency:

implementation 'org.isic.sdk:sdk-android:VERSION' in build.gradle

OR implementation("org.isic.sdk:sdk-android:VERSION") in build.gradle.kts

Latest version: v0.5.1 v0.5.1

Minimum Android SDK version: 26

Virtual ID SDK

Manipulation with Virtual ID is described in org.isic.sdk.virtualid.IsicVirtualIdSdk class.

Discounts SDK

Usage of Discounts is described in org.isic.sdk.discount.IsicDiscountsSdk class.

Packages

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard