Step 2: Dependency


Depending on your platform (Smartphone/Tablet or TV), integrate the Clear or TV version.

currentClearVersion = 5.9.0 currentTvVersion = 5.9.0

circle-info

Depending on your project configuration, implement the dependency in your own way

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 catalogarrow-up-right

[versions]
sfbx = "${currentClearVersion}"

[libraries]
sfbx = { group = "com.sfbx.appconsent", name = "appconsent-ui-v3", version.ref = "sfbx" }

build.gradle.ktsarrow-up-right

dependencies { 
    implementation(libs.sfbx)
}

Last updated