Skip to content

Crash due to SessionReplayTouchCapture.captureSendEventTouches() #2696

@em-tech7

Description

@em-tech7

Description

We are encountering crashes in our iOS application due to the SessionReplayTouchCapture.captureSendEventTouches() function provided by the New Relic SDK.

•	SDK version: 7.5.8
•	Integration method: Swift Package Manager (SPM)
•	The integration works as expected, except for this issue.
•	We are not actively using the Session Replay feature in our app, yet the crashing method appears to be invoked.

We attempted to disable the feature, but it seems this is not configurable in the current version. Therefore, we are looking for a way to prevent this function from being triggered or guidance on how to disable it.

Steps to Reproduce

1.	Integrate New Relic iOS SDK (v7.5.8) via SPM.
2.	Launch the app and interact with the UI.
3.	Randomly (or under certain conditions), the app crashes.
4.	Crash logs point to SessionReplayTouchCapture.captureSendEventTouches().

Expected Behavior

The app should not crash due to a feature (Session Replay) we are not using. Ideally, this function should be:
• Disabled by default if not explicitly enabled.
• Or, offer a configuration option to opt out.

Relevant Logs / Console output

Images added to show current crashes.

Your Environment

•	iOS Version: min deployment target iOS15
•	SDK Version: 7.5.8
•	Integration: Swift Package Manager
•	Xcode Version: 16.4

Additional context

We’d prefer not to downgrade if possible. If you have a hotfix, updated SDK, or a way to turn off the crashing behavior via config or build settings, we’d greatly appreciate it.

If disabling this feature on your end for our app is possible, please let us know how to proceed.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions