Skip to content

feat: Disable CrashReporting for RN iOS and Android#504

Merged
abelonogov-ld merged 2 commits intomainfrom
andrey/crash-report-off-by-default
Apr 27, 2026
Merged

feat: Disable CrashReporting for RN iOS and Android#504
abelonogov-ld merged 2 commits intomainfrom
andrey/crash-report-off-by-default

Conversation

@abelonogov-ld
Copy link
Copy Markdown
Contributor

@abelonogov-ld abelonogov-ld commented Apr 27, 2026

Summary

RN need specific RN crash reporting and it should be parametrized as well (in future)


Note

Medium Risk
Moderate risk due to upgrading the iOS LaunchDarklySessionReplay pod and changing observability instrumentation defaults on both iOS and Android, which could affect telemetry/crash capture behavior.

Overview
Disables native crash-reporting instrumentation in the React Native Session Replay adapters by turning off OpenTelemetry crash reporting on Android (ObservabilityOptions.Instrumentations(crashReporting = false)) and disabling the KSCrash-based reporter on iOS (crashReporting: .init(source: .none)).

Also bumps the iOS LaunchDarklySessionReplay CocoaPods dependency from ~> 0.26.2 to ~> 0.33.1.

Reviewed by Cursor Bugbot for commit cdd3a29. Bugbot is set up for automated code reviews on this repo. Configure here.

@abelonogov-ld abelonogov-ld requested a review from a team as a code owner April 27, 2026 20:54
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit cdd3a29. Configure here.

@abelonogov-ld abelonogov-ld merged commit a9907a7 into main Apr 27, 2026
25 checks passed
@abelonogov-ld abelonogov-ld deleted the andrey/crash-report-off-by-default branch April 27, 2026 23:17
abelonogov-ld added a commit that referenced this pull request Apr 28, 2026
…bservability-sdk into andrey/dotnet-otel-update

* 'andrey/dotnet-otel-update' of github.com:launchdarkly/observability-sdk:
  feat: Disable CrashReporting for RN iOS and Android (#504)
abelonogov-ld pushed a commit that referenced this pull request Apr 28, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>session-replay-react-native: 0.6.0</summary>

##
[0.6.0](session-replay-react-native-0.5.1...session-replay-react-native-0.6.0)
(2026-04-28)


### Features

* Disable CrashReporting for RN iOS and Android
([#504](#504))
([a9907a7](a9907a7))
</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 because this PR only updates release metadata
(manifest/package version) and the changelog, without changing runtime
code.
> 
> **Overview**
> Publishes `@launchdarkly/session-replay-react-native` **v0.6.0** by
bumping versions in `.release-please-manifest.json` and the package’s
`package.json`.
> 
> Updates
`sdk/@launchdarkly/react-native-ld-session-replay/CHANGELOG.md` with the
`0.6.0` entry noting the feature to disable CrashReporting for RN iOS
and Android.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
c1725a0. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/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