Installation
Adding the SpruceKit Mobile Kotlin SDK to an Android Project
Prerequisites
Ensure you have the following tools installed:
Android Studio (latest version recommended)
Java 8 or higher
Gradle (included with Android Studio)
Adding the SDK to your project
Follow these steps to add the SpruceID Kotlin SDK to your Android project:
Update build.gradle
File
Add the Maven Central repository to your project-level
build.gradle
file:
Add the SpruceID dependency to your app-level
build.gradle
file:
Replace <latest-version>
with the latest version of the SDK available on Maven Central.
After updating the build.gradle
file, sync the Gradle project to download the dependencies.
Last updated
Was this helpful?