Skip to content

Cybexo Android SDK Setup

Last updated: July 1, 2026

Property Value
Artifact implementation("com.cybexo:android-sdk:1.0.0")
Minimum Android API 24
Public entrypoint com.cybexo.cmp.CybexoCMP

settings.gradle or settings.gradle.kts:

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}

app/build.gradle.kts:

dependencies {
implementation("com.cybexo:android-sdk:1.0.0")
}

Pin an exact version for production builds.

Initialize once during application startup from an Activity.

import com.cybexo.cmp.CybexoCMP
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
CybexoCMP.initialize(this, "YOUR_SETTINGS_ID")
}
}

Expose a privacy or settings entry so users can review consent later.

CybexoCMP.forceShowBanner(this)

Jetpack Compose example:

@Composable
fun PrivacySettings() {
val context = LocalContext.current
val activity = context as? Activity
Button(onClick = { activity?.let(CybexoCMP::forceShowBanner) }) {
Text("Review Consent")
}
}

Before production release:

  1. Initialize with the production Settings ID.
  2. Confirm first-run banner behavior on a clean install.
  3. Confirm the review consent button reopens preferences.
  4. Confirm accept, reject, and granular choices persist across app restart.
  5. Validate TC string behavior if IAB TCF is enabled for the property.
  6. Confirm downstream analytics or attribution SDKs receive the intended consent state.

If rollback is required:

  1. Disable the CMP feature flag or revert the app build.
  2. Remove com.cybexo:android-sdk.
  3. Remove CybexoCMP initialization/reopen calls.
  4. Rebuild and verify app startup and downstream SDK behavior.