Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 962 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 962 Bytes

tcn-client-android

Android client reference implementation of the TCN protocol

Installation

  1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}
  1. Add the dependency
dependencies {
        implementation 'com.github.TCNCoalition:tcn-client-android:Tag'
}

Storage

This library focuses on generating and observing CENs. It also defines a visitor interface with callbacks for the CENs. In order to process the callbacks further, you should:

  • start the service, and
  • listen to the CENs and store them according to your use case.

Examples of this pattern: