-
-
Notifications
You must be signed in to change notification settings - Fork 343
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
Using React Native Navigation and Tabs cause spans being added to the wrong screen transaction #2285
Comments
This came up from a customer |
Similar to getsentry/sentry-java#2004 and getsentry/sentry-cocoa#1768 |
The way how the SDK works now would make it either very difficult or not possible. |
Right now users could disable the auto instrumentation for those specific cases and use the custom instrumentation https://docs.sentry.io/platforms/react-native/performance/instrumentation/custom-instrumentation/ |
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 🥀 |
Is this still a bug? Are we going to change this in near future? |
https://wix.github.io/react-native-navigation/docs/advanced-navigation/
this might be because there can only be one transaction on the scope at a time while there are multiple screens opening in a tabbed navigation.
A React-specific way of doing this would be to have a unique context for every screen to store the transactions.
And each span would attach to the most immediate parent in the component tree.
The text was updated successfully, but these errors were encountered: