sentry-flutter-sdk

Integrate Sentry error monitoring and performance tracing into Flutter apps.

Updated Jun 4, 2026
One-click install
npx skills add https://github.com/achmf/KostaHub --skill sentry-flutter-sdk-achmf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-flutter-sdk
Source: https://github.com/achmf/KostaHub/tree/main/.agents/skills/sentry-flutter-sdk
Command: npx skills add https://github.com/achmf/KostaHub --skill sentry-flutter-sdk-achmf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the complexity of implementing comprehensive error monitoring, performance tracing, and user behavior analysis in cross-platform Flutter applications.

Core Features & Use Cases

  • Full Observability: Automatically captures Dart exceptions, native crashes, and performance metrics across Android, iOS, and desktop platforms.
  • Advanced Diagnostics: Provides Session Replay for visual debugging and CPU profiling for performance-sensitive iOS/macOS applications.
  • Use Case: Use this skill to diagnose a production crash on Android by correlating the Dart exception with the native stack trace and the user's session replay.

Quick Start

Invoke the sentry-flutter-sdk skill to guide you through the automated wizard setup for your current Flutter project.

Frequently Asked Questions about sentry-flutter-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Sentry error monitoring into a Flutter app?

To integrate Sentry error monitoring into a Flutter app, you configure the Sentry SDK with your DSN, set sampling rates, and initialize native crash handling for Android and iOS to capture Dart exceptions and native crashes.

Does Sentry performance tracing work across iOS and Android in Flutter?

Yes, Sentry performance tracing works across iOS and Android in Flutter by automatically capturing performance metrics and native stack traces, while iOS and macOS also support advanced CPU profiling for performance-sensitive applications.

Can I use Sentry session replay to debug Flutter production crashes?

Yes, you can use Sentry session replay to debug Flutter production crashes by correlating the captured Dart exception with the native stack trace and the user's visual session replay for advanced diagnostics.

What do I need to configure for Sentry observability in cross-platform Dart environments?

For Sentry observability in cross-platform Dart environments, you need to configure your project DSN, set performance and error sampling rates, and enable platform-specific native crash handling to ensure full production coverage.

What is the best way to capture native crashes alongside Dart exceptions in Flutter?

The best way to capture native crashes alongside Dart exceptions in Flutter is using the Sentry SDK, which automatically correlates Dart errors with native stack traces across Android, iOS, macOS, and web environments.

When do I need to set sampling rates for Sentry tracing in a Flutter application?

You need to set sampling rates for Sentry tracing in a Flutter application during the initial SDK configuration to control the volume of captured performance metrics and manage production observability data costs.