Example: Basic Code to use Split SDK 2.4.5
Environment:
Android Studio 3.4.2 Gradle-based Project
JRE 1.8.0
Kotlin 1.3.31
Android SDK 28
How to use:
1. Update your relevant Split API, user Key, Split name in:
/Kotlin_SDK/app/src/main/java/com/example/bilalal_shahwany/kotlin_sdk/MainActivity.kt
2. When the app starts, it will initialize Split factory object, getTreatemnt is called to calculate the treatment when the SDK_READY event is fired.
Comments
0 comments
Please sign in to leave a comment.