Skip to content

Conversation

@abelonogov-ld
Copy link
Contributor

@abelonogov-ld abelonogov-ld commented Oct 24, 2025

  • maskWebView option
  • accesibilityIdentifier support in masking
  • samples of WKWebView and Storyboards

Note

Adds maskWebViews privacy option and accessibility identifier-based masking; updates masking logic; and introduces WebView/Storyboard samples with docs updates.

  • Session Replay SDK:
    • Privacy options: Add privacy.maskWebViews (default false) to SessionReplayOptions.PrivacyOptions.
    • Masking logic (MaskCollector):
      • Import WebKit and mask WKWebView/UIWebView when maskWebViews is enabled.
      • Honor explicit unmasking and ignoreAccessibilityIdentifiers; mask when maskAccessibilityIdentifiers matches.
      • Adjust text input masking to avoid masking WKContentView; simplify image masking to always mask when enabled.
  • Docs:
    • Document maskWebViews in README privacy options and configuration examples.
  • TestApp:
    • Update config: include maskWebViews and extend maskAccessibilityIdentifiers.
    • UI: add toggles and sheets for StoryboardRootView and WebViewControllertView; minor button/layout tweaks; add "Simulate System Under Pressure" navigation link.
    • Credit card sample: unmask nameField; set brandChip accessibility identifier.
    • Add new files: StoryboardRootView, StoryboardiOS.storyboard, StoryboardiOSViewController, WebViewController (+ SwiftUI wrapper).

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

- accesibilityIdentifier support in masking
- samples of WKWebView and Storyboards
@abelonogov-ld abelonogov-ld requested a review from a team as a code owner October 24, 2025 00:12
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@abelonogov-ld abelonogov-ld merged commit 7d029bd into main Oct 24, 2025
4 checks passed
@abelonogov-ld abelonogov-ld deleted the andrey/webview-storyboard branch October 24, 2025 17:46
Vadman97 pushed a commit that referenced this pull request Oct 24, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.5.0](0.4.0...v0.5.0)
(2025-10-24)


### Features

* log memory warnings instrumentation
([#40](#40))
([4f9ccf0](4f9ccf0))
* maskWebView option and accesibilityIdentifier support
([#44](#44))
([7d029bd](7d029bd))
* Session Replay App Life Cycle
([#45](#45))
([5a2fc4d](5a2fc4d))
* **system-metrics:** add auto instrumentation for cpu and memory
([#36](#36))
([95ca6fc](95ca6fc))


### Bug Fixes

* Limit Package.swift to iOS and TV
([#34](#34))
([7d76b65](7d76b65))

---
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]
> Bumps to 0.5.0 and updates changelog with new instrumentation/features
and an iOS/TV packaging fix.
> 
> - **Changelog (0.5.0)**:
>   - **Features**:
>     - Log memory warnings instrumentation
>     - `maskWebView` option and `accessibilityIdentifier` support
>     - Session Replay app lifecycle
>     - Auto-instrumentation for CPU and memory (`system-metrics`)
>   - **Bug Fix**:
>     - Limit `Package.swift` to iOS and tvOS
> - **Release**:
>   - Update `.release-please-manifest.json` from `0.4.0` to `0.5.0`
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
71c4dc4. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
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.

2 participants