SDK
This page provides information how to integrate native Android or iOS SDK into your mobile app.
Android
Step 1
Add this line to build.gradle (app level)
dependencies {
// .. Your other dependencies
implementation("io.enable3.android.enable3androidsdk:Enable3AndroidSDK:1.0.50")
}Step 2
Init Enable3 in your Application class or Activity class (with application context)
Enable3.init(applicationContext, "insert_user_token_here")To get user_token your backend need to call GET JWT endpoint and send it into your app.
Step 3
To open Enable3 you should call
Enable3.open(context, StartAnimation.SlideFromLeft)You can call this code from button onClickListener etc. Pass context and animation type if you need smooth opening. Available animation types:
sealed class StartAnimation {
data object SlideFromLeft : StartAnimation()
data object SlideFromRight : StartAnimation()
data object SlideFromTop : StartAnimation()
data object SlideFromBottom : StartAnimation()
data object None : StartAnimation()
}🧾 Environment Versions This section lists library and plugin versions used in the current Enable3 Android SDK build. Maintaining compatibility with these versions is crucial to ensure smooth integration, prevent dependency conflicts, and avoid build-time or runtime errors.
When integrating the SDK into your app:
Use the same Kotlin, Compose, and Android Gradle Plugin versions for full compatibility.
Other dependencies (like Retrofit, OkHttp, Hilt, Firebase, etc.) can use newer versions if they maintain backward compatibility.
If your project already uses different versions, Gradle will typically resolve to the newest one, but you should verify that your build remains stable.
⚠️ Always align your Kotlin and Compose versions — mismatched versions are the most common cause of compilation issues.
Kotlin
2.2.0
Android Gradle Plugin (AGP)
8.13.0
Compose BOM
2025.06.01
Compose Foundation / UI / Tooling
1.8.3
Navigation Compose
2.9.1
Dagger
2.56.2
Coroutines
1.10.2
Retrofit
3.0.0
OkHttp
5.1.0
Coil Compose
2.7.0
iOS
Last updated