A. Installation & Dependencies
This guide walks you through how to install the Entrupy Android SDK and its dependencies into your Android project, as well as the minimum supported Android versions and how to import and initialize the SDK.
1. Supported Android Versions
The Entrupy Android SDK supports:
- Minimum SDK version:
API 24 (Android 7.0 Nougat)
- Target SDK version:
API 35 (Android 15)
Ensure your project's build.gradle file is configured to use a minimum SDK of at least 24:
android {
compileSdk = 35
defaultConfig {
minSdk = 24
targetSdk = 35
}
}
2. Installation
The Entrupy Android SDK should be added to your app's build.gradle.kts
or build.gradle
file.
2.1 Gradle (Kotlin DSL)
In your build.gradle.kts
(app-level):
dependencies {
implementation("com.entrupy:sdk:X.X.X") // Replace X.X.X with the latest version
}
2.2 Gradle (Groovy)
In your build.gradle
(app-level):
dependencies {
implementation 'com.entrupy:sdk:X.X.X' // Replace X.X.X with the latest version
}
3. Importing the SDK
Once installed, you can begin using the SDK by importing its components into your Kotlin or Java code.
Kotlin:
import com.entrupy.sdk.Entrupy
Java:
import com.entrupy.sdk.Entrupy;
With the SDK installed and imported, you are ready to proceed with app registration and requesting necessary permissions.