We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df7a730 commit 9a842e2Copy full SHA for 9a842e2
src/wrapper.android.ts
@@ -690,6 +690,18 @@ export namespace NATIVE {
690
},
691
})
692
);
693
+ config.setBeforeBreadcrumb(
694
+ new io.sentry.SentryOptions.BeforeBreadcrumbCallback({
695
+ execute(event, hint) {
696
+ if (options.beforeBreadcrumb) {
697
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
698
+ return options.beforeBreadcrumb(event, hint);
699
+ } else {
700
+ return event;
701
+ }
702
703
+ })
704
+ );
705
nSentryOptions = config;
706
sentryOptions = options;
707
} catch(err) {
0 commit comments