Skip to content
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

Support configuration of beforeSend hook #47

Closed
Legion2 opened this issue Feb 21, 2023 · 4 comments
Closed

Support configuration of beforeSend hook #47

Legion2 opened this issue Feb 21, 2023 · 4 comments

Comments

@Legion2
Copy link

Legion2 commented Feb 21, 2023

The sentry SDK for android and ios have both the beforeSend filter which allows to filter and manipulate events before they are send. Currently it is not possible to set the beforeSend filter in kotlin multiplatform.

@buenaflor
Copy link
Contributor

buenaflor commented Mar 8, 2023

Thanks for the suggestion, it's definitely on the list. Right now, we're focused on getting the first release out the door, so we may not be able to work on it immediately. But we'll definitely keep it in mind for future updates.

You are also free to open a PR if you'd like to implement it :)

@buenaflor
Copy link
Contributor

@buenaflor
Copy link
Contributor

buenaflor commented Apr 24, 2023

Please beware that for 0.1.0 there is currently an issue where the SDK will drop events if beforeSend is not configured.
So to be on the safe side make sure to include beforeSend during Sentry.init if you are on 0.1.0. See #79

We will put out the fix asap

@buenaflor
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants