Sentry SDK for Dart and Flutter

November 7, 2025 · View on GitHub

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

PackageCI statusLikesDownloadsAnalysis
sentrybuildlikesdmpub points
sentry_flutterbuildlikesdmpub points
sentry_loggingbuildlikesdmpub points
sentry_diobuildlikesdmpub points
sentry_linkbuildlikesdmpub points
sentry_filebuildlikesdmpub points
sentry_sqflitebuildlikesdmpub points
sentry_driftbuildlikesdmpub points
sentry_hivebuildlikesdmpub points
sentry_isarbuildlikesdmpub 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.