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

Automatically trigger all events in the application when using the Sentry. #2827

Closed
saiganesh-sakthivel opened this issue Nov 10, 2023 · 7 comments · Fixed by #2900
Closed
Assignees
Labels
Bug Something isn't working MAUI

Comments

@saiganesh-sakthivel
Copy link

saiganesh-sakthivel commented Nov 10, 2023

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Run the sample.
  2. In the view, I have a button, and all events in the button are automatically triggered.
    MauiApp1.zip

Expected Result

  1. It should not trigger events automatically.

Actual Result

MicrosoftTeams-image (34)

Product Area

Issues

Link

No response

DSN

No response

Version

3.40.1

@getsantry
Copy link

getsantry bot commented Nov 10, 2023

Assigning to @getsentry/support for routing ⏲️

@kerenkhatiwada kerenkhatiwada transferred this issue from getsentry/sentry Nov 13, 2023
@bitsandfoxes
Copy link
Contributor

Hey @saiganesh-sakthivel,
Thanks for providing a repro! We're going to look into this.

@bitsandfoxes bitsandfoxes added Bug Something isn't working MAUI labels Nov 13, 2023
@bitsandfoxes bitsandfoxes self-assigned this Nov 24, 2023
@bruno-garcia
Copy link
Member

Thanks hanging in there, btw this PR might help fix this: #2900

@bitsandfoxes
Copy link
Contributor

It's not that they are triggered but the SDK goes through all the elements and adds its own event handler to all public events via reflection.
We plan to remove that in the mentioned PR as it turns out to be incredibly noisy.

@jamescrosswell
Copy link
Collaborator

We plan to remove that in the mentioned PR as it turns out to be incredibly noisy.

And it wouldn't work with AOT/Trimming anyway...

@saiganesh-sakthivel
Copy link
Author

Hi @bitsandfoxes ,

Still issue in there
image

@bitsandfoxes
Copy link
Contributor

Hi @saiganesh-sakthivel,
I'm not sure what I'm looking at. The SDK does hook into a couple of events to automatically add breadcrumbs but the amount is drastically reduced.
Can you give me some more details of what it is that does not work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working MAUI
Projects
Status: Done
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants