feat(android): add unmaskXMLViewIds to PrivacyProfile#522
Merged
Conversation
abelonogov-ld
approved these changes
May 1, 2026
Merged
abelonogov-ld
pushed a commit
that referenced
this pull request
May 1, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>launchdarkly-observability-android: 0.43.0</summary> ## [0.43.0](launchdarkly-observability-android-0.42.0...launchdarkly-observability-android-0.43.0) (2026-05-01) ### Features * **android:** add unmaskXMLViewIds to PrivacyProfile ([#522](#522)) ([5831209](5831209)) * **android:** update session replay masking precedence rules ([#518](#518)) ([4299d1e](4299d1e)) </details> <details><summary>session-replay-react-native: 0.8.0</summary> ## [0.8.0](session-replay-react-native-0.7.0...session-replay-react-native-0.8.0) (2026-05-01) ### Features * **android:** update session replay masking precedence rules ([#518](#518)) ([4299d1e](4299d1e)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk release bookkeeping only: version bumps and changelog updates, with no functional code changes in this diff. > > **Overview** > Updates release metadata to publish new versions: bumps `sdk/@launchdarkly/observability-android` to `0.43.0` and `@launchdarkly/session-replay-react-native` to `0.8.0` in `.release-please-manifest.json`, plus corresponding version fields and changelog entries describing new masking/privacy features. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 178c315. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Android
unmaskXMLViewIdsoption that is equivalent to iOS'sunmaskAccessibilityIdentifiersHow did you test this change?
Unit tests added.
Are there any deployment considerations?
No.
Note
Medium Risk
Changes session-replay masking behavior by introducing a new explicit-unmask path and updating
MaskCollector.collectMaskscall signatures, which could alter what gets redacted if misconfigured.Overview
Adds
unmaskXMLViewIdstoPrivacyProfileso specific XML Views can be explicitly unmasked by resource entry name, overriding global masking rules while still losing to explicit masks.Updates the masking pipeline to pass and evaluate a new
explicitUnmaskMatcherslist inMaskCollector(including precedence/propagation semantics), wires it throughImageCaptureService, and documents the new option in the README.Extends unit tests to cover id normalization, matcher inclusion, and explicit-unmask precedence/propagation behaviors.
Reviewed by Cursor Bugbot for commit 3af5a9f. Bugbot is set up for automated code reviews on this repo. Configure here.