Search packages, repositories and app categories

Package detailsv10.2.0

sentry

A crash reporting library for Dart that sends crash reports to Sentry.io. This library supports Dart VM and Web. For Flutter consider sentry_flutter instead.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
2.2M
Likes
583
Pub points
160

Install package

flutter pub add sentry

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Sentry is a crash reporting library for Dart that captures and transmits runtime errors and exceptions to Sentry.io, enabling developers to monitor and debug issues in real time. It supports Dart VM and web platforms, providing detailed stack traces, context data, and performance insights. The library integrates seamlessly into Dart applications, helping teams identify and resolve bugs quickly. For Flutter apps, the dedicated sentry_flutter package is recommended instead.

Use cases

  • Real-time crash monitoring
  • Error tracking in web and server-side Dart
  • Performance issue detection
  • Debugging production issues
  • Integrating with Sentry.io dashboards

Key features

  • Cross-platform support (Web, VM)
  • Automatic error capture
  • Context and breadcrumb logging
  • Integration with Sentry.io backend
  • Custom event tagging and filtering

Suitable for

  • Dart applications on web and server
  • Teams using Sentry.io for monitoring
  • Developers needing crash analytics
  • Projects requiring detailed error context
  • Applications targeting multiple platforms

Considerations

  • Not intended for Flutter apps (use sentry_flutter instead)
  • Requires Sentry.io account and project setup
  • May increase app bundle size slightly
  • Needs proper configuration for optimal performance
  • Limited native mobile features compared to sentry_flutter

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Sentry

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

Sentry SDK for Dart and Flutter

codecov

Package CI status Likes Downloads Analysis
sentry build likes dm pub points
sentry_flutter build likes dm pub points
sentry_logging build likes dm pub points
sentry_dio build likes dm pub points
sentry_link build likes dm pub points
sentry_file build likes dm pub points
sentry_sqflite build likes dm pub points
sentry_drift build likes dm pub points
sentry_hive build likes dm pub points
sentry_isar build likes dm pub points

Releases

This repo uses the following ways to release SDK updates:

  • Pre-release: We create pre-releases (alpha, beta, RC,…) for larger and potentially more impactful changes, such as new features or major versions.
  • Latest: We continuously release major/minor/hotfix versions from the main branch. These releases go through all our internal quality gates and are very safe to use and intended to be the default for most teams.
  • Stable: We promote releases from Latest when they have been used in the field for some time and in scale, considering time since release, adoption, and other quality and stability metrics. These releases will be indicated on the releases page (https://github.com/getsentry/sentry-dart/releases/) with the Stable suffix.

Usage

For detailed usage, check out the inner dart, flutter, logging, dio, file, sqflite, drift, hive and isar README's or our Resources section below.

Blog posts

Introducing Mobile Screenshots.

With Flutter and Sentry, You Can Put All Your Eggs in One Repo.

A Sanity Listicle for Mobile Developers.

Supporting Native Android Libraries Loaded From APKs.

Resources

  • Flutter docs
  • Dart docs
  • Discussions
  • Discord Chat
  • Stack Overflow
  • X Follow

Apple Privacy Manifest

Starting with May 1st 2024, iOS apps are required to declare approved reasons to access certain APIs. This also includes third-party SDKs. If you are using sentry-flutter, update to at least version 7.17.0 to get the updated sentry-cocoa native iOS/macOS SDK, supporting the privacy manifest. All other used dependencies with file declarations are supported by Sentry packages. Run flutter pub upgrade to the latest compatible versions of all the dependencies.

SDK Size Overhead

The Sentry SDKs for Dart and Flutter typically add approximately 1-1.5 MB to an app’s binary size. The exact impact may vary depending on the device architecture.

Categories

Dependencies

Dependency list 6 items

Source repository

Projects using this package

Rankings