Skip to content

Android: Introduction

The Android Client is a library that allows you to interact with the Liquid Auth Service and provides utilities to integrate with the native platform.

Pre-requisites

Install Android Studio and create or open an application.

Fingerprint

Get the SHA256 fingerprint of your application. The Server uses the fingerprint to attest the credential. You can use the following command to get the SHA256 fingerprint of your application.

Terminal window
keytool -list -v -keystore <path> -alias <alias> -storepass <store_password> -keypass <key password>

Getting Started

Run a local instance or deploy the Liquid Auth Service using the SHA256 fingerprint and application name in the environment configuration

Install

Add jitpack as a repository

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
setUrl("https://jitpack.io")
}
}
}

Install the package

dependencies {
implementation("com.github.algorandfoundation:liquid-auth-android:v1.0.0-canary.3")
}