Android SDK Quick Start Guide
Overview
This section shows how to integrate Spyne SDK in your Android app. Before getting started, complete the Android SDK Quick Start Guide. The quick start guide shows how to install the Spyne SDK, click your first shoot, and refer the subject on dashboard.
Pre-Requisites
Min SDK version: 26
Target & Compile SDK Version: 34
Latest dependency: implementation 'com.github.Spyne-Tech:spyne-android-sdk:3.0.3'
Install SDK
To use the Spyne Android SDK, please follow the steps required below:
Install using Android Studio and Gradle
Add the Jitpack repository to your project-level build.gradle
file at the end of repository
mavenCentral()
maven {
credentials { username authToken }
Adding SDK dependency version
Add the dependency to your module-level build.gradle
file. spyne_sdk_version the latest sdk version as shared with you by the Spyne team.
Authenticating the SDK
Add the token to your module-level gradle.properties
file
Initializing the SDK
Initialise the client in your Application sub-class. To generate the API Key, please click here
private static final String CATEGORY_ID = "cat_d8R14zUNE"
public void onCreate() {
Spyne.init(context:this, API_KEY, CATEGORY_ID)