Commit a9907a7
authored
feat: Disable CrashReporting for RN iOS and Android (#504)
## Summary
RN need specific RN crash reporting and it should be parametrized as
well (in future)
<!-- CURSOR_SUMMARY -->
---
> [!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`.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
cdd3a29. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 2b0ea17 commit a9907a7
3 files changed
Lines changed: 8 additions & 2 deletions
File tree
- sdk/@launchdarkly/react-native-ld-session-replay
- android/src/main/java/com/sessionreplayreactnative
- ios
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
144 | 148 | | |
145 | 149 | | |
146 | 150 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
0 commit comments