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

Disabling App Hang tracking does not work #596

Closed
kahest opened this issue Mar 14, 2024 · 0 comments · Fixed by #602
Closed

Disabling App Hang tracking does not work #596

kahest opened this issue Mar 14, 2024 · 0 comments · Fixed by #602
Assignees
Labels

Comments

@kahest
Copy link
Member

kahest commented Mar 14, 2024

Environment

  • Framework: Capacitor v4
  • Platform: iOS

Dependencies

  • @Sentry/capacitor: 0.16.0
  • Sentry/HybridSDK: 8.18.0

Steps to Reproduce

  1. Initialize Sentry SDK in app.module.ts with enableAppHangTracking set to false to prevent app hanging timeout errors from being reported.
  2. Observe the reported errors on the Sentry dashboard.

Expected Result

  • Sentry should not track app hanging errors when enableAppHangTracking is disabled.

Actual Result

  • App hanging timeout errors are still being reported to the dashboard.

Solution brainstorm

Upon inspecting the TypeScript definition file option.d.ts, it appears that the enableAppHangTracking option is missing from BaseCapacitorOptions.

Notes

Originally reported on Discord

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

Successfully merging a pull request may close this issue.

2 participants