author | title | date | status |
---|---|---|---|
Tony Myles |
AferoJavaSDK |
2023-Jun-30 |
1.5.4 |
An SDK for interacting with the Afero service and peripheral platform.
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code.
The SDK binaries are hosted on JFrog. To specify the repo use the following Gradle repository reference.
repositories {
maven {
url "https://afero.jfrog.io/afero/afero-java-sdk"
artifactUrls "https://afero.jfrog.io/afero/hubby-android"
}
}
The SDK is composed of four separate modules.
The afero-sdk-core
module is required for base functionality such as interacting with the Afero Cloud and manipulating devices.
implementation 'io.afero.sdk:afero-sdk-core:1.5.3'
The afero-sdk-client-retrofit2
module provides an optional implementation of the AferoClient REST API interface using Retrofit2 and okhttp3. If you choose not to include this module in your project, you will need to develop your own implementation of AferoClient using your preferred http client library.
implementation 'io.afero.sdk:afero-sdk-client-retrofit2:1.5.3'
The afero-sdk-android
module is required for Android development.
implementation 'io.afero.sdk:afero-sdk-android:1.5.3'
The afero-sdk-softhub
module is required for soft hub functionality on Android.
implementation 'io.afero.sdk:afero-sdk-softhub:1.5.3'
implementation "io.afero.sdk:hubby:1.0.957@aar"