Auto-masking & Repro Steps

Repro steps (breadcrumbs) and auto-masking of sensitive UI in KMP.

Repro steps configuration

Control how reproduction steps (user steps/breadcrumbs) are captured for bugs, crashes, and session replay. Use ReproConfig with ReproStepsMode per area:

Mode
Description

Enabled

Capture user steps with screenshots

EnabledWithNoScreenshots

Capture user steps without screenshots

Disabled

Do not capture user steps

Kotlin
val config = ReproConfig(
    bug = ReproStepsMode.Enabled,
    crash = ReproStepsMode.EnabledWithNoScreenshots,
    sessionReplay = ReproStepsMode.Enabled
)
LuciqKmp.setReproStepsConfig(config)

To set the same mode for bug, crash, and session replay, use all:

Kotlin
LuciqKmp.setReproStepsConfig(ReproConfig(all = ReproStepsMode.Enabled))

Auto-masking

Mask sensitive UI elements (labels, text inputs, media) in screenshots and session replay:

Kotlin
LuciqKmp.enableAutoMasking(listOf(
    AutoMaskingType.Labels,
    AutoMaskingType.TextInputs,
    AutoMaskingType.Media
))

Use AutoMaskingType.None to disable masking for a type, or omit types you do not want to mask.

User steps (iOS)

On iOS you can enable or disable tracking of user steps (breadcrumbs). This is a no-op on Android:

Last updated