Integrating Sentry

Integrates Sentry error tracking and performance monitoring into Flutter apps using `sentry_flutter`. Use when setting up crash reporting in Flutter, calling `SentryFlutter.init`, adding `SentryNavigatorObserver` to GoRouter, tracing HTTP requests with `sentry_dio`, capturing handled exceptions via `Sentry.captureException`, adding breadcrumbs, configuring session replay (`replay.onErrorSampleRate`), tuning `tracesSampleRate` or `profilesSampleRate`, controlling PII with `sendDefaultPii`, or setting user context after login and logout.

Poorgramer-Zack de22c8f 5.5 KB Updated

File contents

Poorgramer-Zack/dart-expert-skills/tree/main/skills/sentry-flutter commit de22c8f87d

Frequently asked questions

npx skillmds@latest add poorgramer-zack/integrating-sentry