-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS Native breadcrumbs not being added to javascript events #780
Comments
Yep, we are aware of that. |
@HazAT Any updates here? |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
This is already working for a long time, are you using the latest version @brainbicycle ? please let us know if that still does not work |
Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated. There's a large chance that this issue has been solved since. |
@marandaneto I upgraded to @sentry/react-native 3.2.8 and iOS native breadcrumbs are still not appearing when the exception occurs in javascript. In my objective-c code I am generating breadcrumbs using the follow: SentryBreadcrumb *crumb = [[SentryBreadcrumb alloc] init];
crumb.level = kSentryLevelError;
crumb.category = @"storage";
crumb.message = [NSString stringWithFormat:@"%@ - %@", method, message];
[SentrySDK addBreadcrumb:crumb]; In my javascript I am just using In xcode I can see the Sentry debug messages but these breadcrumbs are not included with the issue.
|
OS:
Platform:
SDK:
@sentry/react-native
react-native-sentry
SDK version: 1.3.1
react-native
version: 0.61.4Init Code:
I have the following issue:
Our application has a combination of native Objective-C code and react native code. Because of this we track and add breadcrumbs to sentry from both react native and objective-C. With react-native-sentry these breadcrumbs were showing up alongside each other in sentry issues. We recently tried upgrading from react-native-sentry to the new @sentry/react-native and noticed native breadcrumbs are no longer being sent along from javascript events and only react-native breadcrumbs are showing up in issues. It seems like this code https://github.com/getsentry/sentry-cocoa/blob/52f057f31cceb326cb68ca1212ea96c2f0ad53db/Sources/Sentry/SentryNSURLRequest.m#L47 explicitly ignores other event data when json is present. So my question is is there a way to get the old behavior or is this not supported?
Steps to reproduce:
Actual result:
Expected result:
Thanks for any help you can give and apologies if I am missing something obvious.
The text was updated successfully, but these errors were encountered: