keycard-tech/status-keycard-java


Java SDK for the Status Keycard

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.status-im:status-keycard-java:3.1.2'
	}
	dependencies {
		implementation("com.github.status-im:status-keycard-java:3.1.2")
	}
	<dependency>
	    <groupId>com.github.status-im</groupId>
	    <artifactId>status-keycard-java</artifactId>
	    <version>3.1.2</version>
	</dependency>

                            
    libraryDependencies += "com.github.status-im" % "status-keycard-java" % "3.1.2"
        
        

                            
    :dependencies [[com.github.status-im/status-keycard-java "3.1.2"]]
        
        

Readme


Keycard Java SDK for Android and Desktop

This SDK simplifies integration with the Status Keycard in Android and Desktop applications. In this SDK you find both the classes needed for generic communication with SmartCards as well as classes specifically addressing the Keycard.

To get started, check the file demo-android/src/main/java/im/status/keycard/app/MainActivity.java which a simple demo application showing how the SDK works and what you can do with it.

Usage

You can import the SDK in your Gradle or Maven project using Jitpack.io.

On Android

dependencies {
  implementation 'com.github.status-im.status-keycard-java:android:3.0.2'
}

on the desktop

dependencies {
  implementation 'com.github.status-im.status-keycard-java:desktop:3.0.2'
}