Skip to content

Commit e62bf30

Browse files
authored
Merge 6095218 into 7259f12
2 parents 7259f12 + 6095218 commit e62bf30

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Fixes
66

7+
- Adds breadcrumb origin field to prevent exception capture context from being overwritten by native scope sync ([#4124](https://github.com/getsentry/sentry-react-native/pull/4124))
78
- Handles error with string cause ([#4163](https://github.com/getsentry/sentry-react-native/pull/4163))
89
- Use `appLaunchedInForeground` to determine invalid app start data on Android ([#4146](https://github.com/getsentry/sentry-react-native/pull/4146))
910
- Upload source maps for all release variants on Android (not only the last found) ([#4125](https://github.com/getsentry/sentry-react-native/pull/4125))

RNSentry.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Pod::Spec.new do |s|
3737

3838
s.compiler_flags = other_cflags
3939

40-
s.dependency 'Sentry/HybridSDK', '8.37.0'
40+
s.dependency 'Sentry/HybridSDK', '8.38.0-beta.1'
4141

4242
if defined? install_modules_dependencies
4343
# Default React Native dependencies for 0.71 and above (new and legacy architecture)

android/src/main/java/io/sentry/react/RNSentryBreadcrumb.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ public static Breadcrumb fromMap(ReadableMap from) {
4848
breadcrumb.setCategory(from.getString("category"));
4949
}
5050

51+
if (from.hasKey("origin")) {
52+
breadcrumb.setOrigin(from.getString("origin"));
53+
}
54+
5155
if (from.hasKey("level")) {
5256
switch (from.getString("level")) {
5357
case "fatal":

ios/RNSentryBreadcrumb.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ +(SentryBreadcrumb*) from: (NSDictionary *) dict
2323

2424
[crumb setLevel:sentryLevel];
2525
[crumb setCategory:dict[@"category"]];
26+
[crumb setOrigin:dict[@"origin"]];
2627
[crumb setType:dict[@"type"]];
2728
[crumb setMessage:dict[@"message"]];
2829
[crumb setData:dict[@"data"]];

0 commit comments

Comments
 (0)