Skip to content

Conversation

@abelonogov-ld
Copy link
Contributor

@abelonogov-ld abelonogov-ld commented Jan 7, 2026

Summary

  1. Rename maskSensitive to maskBySemanticsKeywords and set default false
  2. Changes default maskText to false
  3. removes maskAdditionalMatchers (they might return later under different name and rework to be more universal)

How did you test this change?

Are there any deployment considerations?


Note

Streamlines Session Replay masking configuration and docs.

  • Renames maskSensitive to maskBySemanticsKeywords and wires it into asMatchersList(); default false
  • Changes PrivacyProfile.maskText default to false
  • Removes maskAdditionalMatchers; drops corresponding addAll(...) in asMatchersList()
  • Restricts matcher properties (viewsMatcher, xmlViewIdsMatcher, textInputMatcher, textMatcher, sensitiveMatcher) to internal
  • Minor KDoc tweaks and parameter order; maskImageViews remains, moved after lists
  • README updates to show new toggles and example PrivacyProfile usage

Written by Cursor Bugbot for commit 987e957. This will update automatically on new commits. Configure here.

(cherry picked from commit ef6b1e1)
(cherry picked from commit c57d5c2)

# Conflicts:
#	sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/PrivacyProfile.kt
* main:
  feat: Added privacy options: maskViews, maskXMLViewIds, maskImageViews (#339)

# Conflicts:
#	sdk/@launchdarkly/observability-android/README.md
#	sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/PrivacyProfile.kt
@abelonogov-ld abelonogov-ld requested a review from a team as a code owner January 7, 2026 21:32
@abelonogov-ld abelonogov-ld changed the title doc: Android SR - cleanup privacy settings docs: Android SR - cleanup privacy settings Jan 7, 2026
@abelonogov-ld abelonogov-ld changed the title docs: Android SR - cleanup privacy settings chore: Android SR - cleanup privacy settings Jan 7, 2026
@abelonogov-ld abelonogov-ld merged commit c8d010e into main Jan 8, 2026
24 checks passed
@abelonogov-ld abelonogov-ld deleted the andrey/cleanupSR-API branch January 8, 2026 01:41
abelonogov-ld added a commit that referenced this pull request Jan 8, 2026
* main:
  chore: Android SR - cleanup privacy settings (#341)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants