Dependency
Depending on your platform (Smartphone/Tablet or TV), integrate the Clear or TV version.
currentClearVersion = 5.5.3
currentTvVersion = 5.5.3
- Mobile / Tablet
- TV
info
Depending on your project configuration, implement the dependency in your own way
- Groovy
- Kotlin
- Version catalog
Groovy - App build.gradleβ
dependencies {
implementation 'com.sfbx.appconsent:appconsent-ui-v3:${currentClearVersion}'
}
KotlinDSL - App build.gradle.kts Without version catalogβ
dependencies {
implementation("com.sfbx.appconsent:appconsent-ui-v3:${currentClearVersion}")
}
KotlinDSL - App build.gradle.kts and version catalog (gradle/libs.versions.toml)β
Version catalogβ
[versions]
sfbx = "${currentClearVersion}"
[libraries]
sfbx = { group = "com.sfbx.appconsent", name = "appconsent-ui-v3", version.ref = "sfbx" }
build.gradle.ktsβ
dependencies {
implementation(libs.sfbx)
}
info
Depending on your project configuration, implement the dependency in your own way