OS:
_Platform:_
Output of node -v && npm -v && npm ls --prod --depth=0
v6.11.1
3.10.10
[email protected] /Users/rickdt/Documents/Projects/Optek/FRET-GT-ReactNative
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── UNMET PEER DEPENDENCY [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] (git://github.com/big-swing/react-native-fetch-blob.git#6a43877c5f2985efe929a2786c70bc7b29bf7dca)
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
npm ERR! peer dep missing: [email protected], required by [email protected]
Config:
Sentry.config('https://[email protected]/...', {
breadcrumbCallback: function(crumb) {
return crumb
}
}).install()
I have following issue:
I would like to filter some breadcrumbs that are automatically collected due to noise. Could the RN SDK support the breadcrumbCallback config setting from the JS SDK?
Steps to reproduce:
Attempt to alter Breadcrumbs via config setting.
Actual result:
All Breadcrumbs go through. Callback is not called.
Expected result:
Callback is used to filter Breadcrumbs
I just spent a bit wondering why that config option was not working. Of course disabling disableNativeIntegration: true makes it work since then it relies 100% on the Raven client. The cost is you get none of the native app crashes :(
We will soon do a rewrite of the react-native SDK which should fix this issue.
Please stay tuned.
Any news on that? Or is there any other workaround to filter out some of the XHR breadcrumbs?
Any updates on this feature?
Curious as well. Even just being able to disable fetch/xhr crumbs would be very helpful...
We released a new version of the SDK @sentry/react-native which uses the unified JS API where you are able to do this.
See for more info: https://github.com/getsentry/sentry-react-native/issues/612
Most helpful comment
We will soon do a rewrite of the react-native SDK which should fix this issue.
Please stay tuned.