Skip to main content

Privacy and video (Beta)

Disabling video

Video recording can be disabled completely using the videoEnabled launch option. See configuration for more info.

Protecting Compose views

Bugsee automatically detects and hides secure input fields (e.g. password fields) from the recorded video. However, due to the declarative nature of Compose UI, automatic detection may not cover all cases. We recommend using the BugseeProtect composable to explicitly wrap any sensitive content. It places a secure overlay that hides the protected area from Bugsee video recordings and screenshots on both Android and iOS.

Add the library-protect dependency to your shared module:

commonMain.dependencies {
implementation("com.bugsee:bugsee-kotlin-multiplatform:+")
implementation("com.bugsee:bugsee-kotlin-multiplatform-protect:+")
}

Then wrap any composable content:

import com.bugsee.kmp.protect.BugseeProtect

@Composable
fun MyScreen() {
Column {
Text("Public content")

BugseeProtect {
// This content is obscured in video recordings
Text("Sensitive data: credit card number")
}

BugseeProtect(modifier = Modifier.fillMaxWidth()) {
TextField(value = password, onValueChange = { ... })
}
}
}
warning

Bugsee.launch() must be called before BugseeProtect enters composition. Calling it from a platform entry point (e.g. Application.onCreate, iOS AppDelegate) is recommended.

Protecting platform-native views

For non-Compose views, use the lower-level API to mark platform-native views as secure:

// Add a view to be obscured (View on Android, UIView on iOS)
Bugsee.addSecureView(myView)

// Remove a view from the secure list
Bugsee.removeSecureView(myView)