> For the complete documentation index, see [llms.txt](https://docs.caf.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.caf.io/caf-sdk/android/standalone-modules/caffacelivenesslite/changelog.md).

# Changelog

## Release notes

## Version 2.21.0

### **Release date:**

* 08/07/2026

### What's new

**Customize the liveness screen**

You can now brand the liveness screen through the new `uiCustomization` option in `CafLivenessConfig`. Colors, the app bar title, the logo and close icons, the font and the mask blur are all configurable. Every field is optional — anything you leave out keeps the default appearance, so existing integrations are unaffected.

```kotlin
val uiCustomization = UiCustomization(
    font = LivenessFont.ResFont(R.font.your_font),
    appBar = AppBarCustomization(
        title = "Identity check",
        titleColor = Color.WHITE,
        color = navyColor,
        logoIcon = R.drawable.your_logo,
        closeButton = R.drawable.your_close_icon,
    ),
    mask = MaskCustomization(isBlurEnabled = true, color = navyColor),
    prompt = PromptCustomization(
        textColor = Color.WHITE,
        backgroundColor = greenColor,
        isRounded = true,
    ),
)
val config = CafLivenessConfig(
    mobileToken = mobileToken,
    personId = personId,
    uiCustomization = uiCustomization
)

CafFaceLivenessLite.instance.startLiveness(
    context = context,
    config = config,
) { event -> /* ... */ }
```

Colors are color values (`@ColorInt`), not color resources — resolve resources with `ContextCompat.getColor(...)` before passing them. Icons and fonts are resource ids.

## Version 7.18.0

### **Release date:**

* 07/30/2026

### What's new:

#### **Dynamic iProov service location**

The SDK now follows the iProov SP provided by the backend. Server-side change — no integration changes required.

#### **Signed response on failure**

When a liveness attempt fails (for example, eyes closed or poor lighting), the SDK now also retrieves the transaction result and returns the `signedResponse` in the `Failure` event — previously available only on success. If the result can't be retrieved, an `Error` event is returned instead.

#### Breaking changes

The `LivenessLiteEvent` contract changed. Update your event handling:

| Before                          | After                                        |
| ------------------------------- | -------------------------------------------- |
| `Success(val response: String)` | `Success(val signedResponse: String)`        |
| `Failure(type, description)`    | `Failure(signedResponse, type, description)` |
| `Error(type, description)`      | `Error(type, description, cause)`            |

* `Success.response` was renamed to `Success.signedResponse`.
* `Failure` now includes `signedResponse`.
* `Error` now includes `cause` (the originating `Throwable`).
* `CafLivenessConfig.stage` now defaults to `CafStage.PROD` and no longer needs to be provided explicitly.

```kotlin
CafFaceLivenessLite.instance.startLiveness(
    context = context,
    config = CafLivenessConfig(
        mobileToken = mobileToken,
        personId = personId,
    ),
) { event ->
    when (event) {
        is LivenessLiteEvent.Success -> handleSuccess(event.signedResponse)
        is LivenessLiteEvent.Failure -> handleFailure(event.type, event.description)
        is LivenessLiteEvent.Error -> handleError(event.type, event.cause)
        LivenessLiteEvent.Cancelled -> handleCancelled()
        LivenessLiteEvent.Loading, LivenessLiteEvent.Loaded -> Unit
    }
}
```

Links:

{% content-ref url="/pages/SWa4fYvXU4QHS0rTEBa7" %}
[Face Liveness Lite](/caf-sdk/android/standalone-modules/caffacelivenesslite.md)
{% endcontent-ref %}

{% content-ref url="/pages/kzUUoJkdkppda386DUZv" %}
[Handling Failures](/caf-sdk/android/getting-started-with-the-sdk/handling-failures.md)
{% endcontent-ref %}

{% content-ref url="/pages/CjjPANiCm0TOnbldUgeg" %}
[Ui Customization](/caf-sdk/android/standalone-modules/caffacelivenesslite/ui-customization.md)
{% endcontent-ref %}

{% content-ref url="/pages/vsdoZhkDbnAXRhPVlR18" %}
[Changelog](/caf-sdk/android/standalone-modules/caffacelivenesslite/changelog.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.caf.io/caf-sdk/android/standalone-modules/caffacelivenesslite/changelog.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
