搜索插件、代码仓与 APP 分类

插件详情v10.2.0

sentry_flutter

Flutter 的 Sentry SDK。此包旨在通过依赖 Sentry 支持的众多平台的原生 SDK,来支持不同的 Flutter 目标平台。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
197万
喜欢数
1090
Pub 分数
150

安装插件

flutter pub add sentry_flutter

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Sentry Flutter 是一个性能和崩溃监控 SDK,可与 Sentry 的原生平台集成,为 Flutter 应用提供全面的错误跟踪和性能洞察。它支持多种目标平台,包括 Android、iOS、Web、macOS、Windows 和 Linux,确保在任何部署环境中都能实现一致的可观测性。该包利用现有的 Sentry 原生 SDK 实现可靠的数据收集和报告,使开发人员能够实时检测、诊断并解决各类问题。通过极简的配置,有助于保持应用的稳定性和用户体验。

适合场景

  • 实时崩溃报告
  • 性能监控
  • 跨平台错误跟踪
  • 用户会话分析
  • 调试生产问题
  • 监控应用健康状态

主要特点

  • 跨平台支持
  • 原生 SDK 集成
  • 自动错误捕获
  • 会话跟踪
  • 自定义事件标记
  • 与 Sentry 仪表板集成

适合对象

  • 使用 Flutter 的移动和网页应用
  • 需要集中式错误监控的团队
  • 开发者专注于应用可靠性
  • 工程团队实践主动调试
  • 需要符合可观测性标准的项目

使用建议

  • 需要 Sentry 账户
  • 可能会略微增加应用大小
  • 需要正确配置才能充分发挥其作用
  • 受限于 Sentry 的后端基础设施
  • 用户数据的隐私考虑

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

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.

所属分类

依赖

依赖清单 7 项

源码仓库

使用此插件的项目

所在榜单