Skip to content

fix: NR-518139 - restore iOS 15 by not allowing unmasking SwiftUI text in iOS 15#582

Merged
cdillard-NewRelic merged 6 commits intodevelopfrom
restore-ios-15
Feb 12, 2026
Merged

fix: NR-518139 - restore iOS 15 by not allowing unmasking SwiftUI text in iOS 15#582
cdillard-NewRelic merged 6 commits intodevelopfrom
restore-ios-15

Conversation

@cdillard-NewRelic
Copy link
Member

@cdillard-NewRelic cdillard-NewRelic commented Feb 2, 2026

This PR modifies the code that was added for SwiftUI masking of elements in Mobile Session Replay. The base sdk requirement of the New Relic iOS agent was lowered back to iOS 15. Right now the behavior would be quite undefined for SwiftUI + iOS 15. Im looking at the behavior.
Edit: Now I've made it so in iOS 15 all SwiftUI text is masked. the mask view is a noop.

@cdillard-NewRelic cdillard-NewRelic changed the title fix: NR-518139 fix: NR-518139 - restore iOS 15 by breaking SwiftUI view size in iOS 15 Feb 4, 2026
cdillard-NewRelic and others added 4 commits February 9, 2026 12:11
@cdillard-NewRelic cdillard-NewRelic changed the title fix: NR-518139 - restore iOS 15 by breaking SwiftUI view size in iOS 15 fix: NR-518139 - restore iOS 15 by not allowing unmasking SwiftUI text in iOS 15 Feb 11, 2026
@cdillard-NewRelic cdillard-NewRelic merged commit 2296f6b into develop Feb 12, 2026
12 checks passed
@cdillard-NewRelic cdillard-NewRelic deleted the restore-ios-15 branch February 12, 2026 14:52
cdillard-NewRelic added a commit that referenced this pull request Feb 17, 2026
* triggering tests

* Updated NRLoggerTests

* Updated PersistentStoreTests

* Updated NRMAURLSessionHeaderTrackingTests

* Updated NRMASessionExclusivityWithoutDelegateTests

* Updated all unit tests with known issues

* Merge pull request #578 from newrelic/backport761develop

Backport 7.6.1 develop

* Improve touch movement smoothness

* NR-508705 Background and foreground events match Android behavior (#579)

* NR-508705 Changed the the foreground and background user actions to be consistent with Android and not be behind the gesture feature flag

* Added the new event class to the persisted store classList.

* Trying to update the yml to install the correct fastlane

* NR-510109 changes to color reflection for SwiftUI MSR for iOS 26 (#583)

* NR-510109 changes to color reflection for SwiftUI MSR for iOS 26

* Added the opacity to all views to fix the iOS 26 title blur issue

* bump:s v 7.6.2 (#586)

* NR-520409 changes to attributed text examination to minimize crash (#587)

* Update cocoapods license to string "Apache License, Version 2.0" (#584)

* NR-480518 added line numbers, line break, font weight, and kern to text in MSR (#588)

* NR-480518 added line numbers, line break, font weight, and kern to text in MSR

* Fix for tvos tests

* Fix for hasher crash on older iOS versions (#591)

* Nr 480854 Added shapes through SVG and drawing using images (#590)

* NR-480854 working shapes for swiftUI

* Added the SwiftUIDisplayList.Content.Value.drawing implementation too.

* Fix for shape diffs

* Added unit tests for UIShapeThingy

* fix: add frameQueue when adding frame to process (#592)

Co-authored-by: mbruin-NR <118208503+mbruin-NR@users.noreply.github.com>

* restore:s logging sanity (#593)

* fix: NR-518139 - restore iOS 15 by not allowing unmasking SwiftUI text in iOS 15 (#582)

* fix: NR-518139

* fix: restore iOS 15 in project

* add ios 15 override when traversing SwiftUI Text. iOS 15 SwiftUI text cannot be reliably unmasked so we mask it all.

---------

Co-authored-by: mbruin-NR <118208503+mbruin-NR@users.noreply.github.com>

* NR-502502 Added the discussed crash fix (#596)

* NR-523372 added a check for off mode when a replay is paused so that we don't still send a harvest network request. (#597)

* NR-523393: skip empty incrementalFrames (#598)

* NR-522021 Changed capture to always put color views first so they are in the background (#599)

* NR-522021 Changed capture to always put color views first so they are in the background

* NR-522021 removed example code that wasn't needed

---------

Co-authored-by: Diego Martinez <diegomartinez@newrelic.com>
Co-authored-by: Diego Martinez <141683174+diegomtz5@users.noreply.github.com>
Co-authored-by: mbruin-NR <118208503+mbruin-NR@users.noreply.github.com>
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

Comments