getsentry / getsentry/sentry-react-native

Synchronize `PropagationContext` across hybrid layers

Open
#6,254 2 comments 1 reaction 1 assignee Claimed by @alwx View on GitHub
Feature Mobile React-Native Traces
Dominant language
TypeScript
Stars
1.8k
Forks
366
Avg merge
1d 9h
Merged PRs (30d)
89

Description

Currently, WebViews, RN and native layers keep their own traceId. We could enhance the debugging experience by sharing trace across the hybrid applications layers.

### Examples

* RN opens WebView and an error (Browser SDK in WebView captured an error) happens on the web due to RN not supplying needed data (error was capture by RN). These are not sharing the same trace as the SDK operate independently.
* Native SDK captures error, due to which data are missing in RN layer, and thus RN captures an error. Currently these errors are no covered by the same trace id.

```[tasklist]
### Tasks
- [ ] https://github.com/getsentry/sentry-react-native/issues/3918
- [ ] sentry-javascript
- [ ] https://github.com/getsentry/sentry-cocoa/issues/4157
- [x] https://github.com/getsentry/sentry-java/issues/3562
- [ ] https://github.com/getsentry/sentry-dart/issues/2168
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.