sentry_flutter 5.1.0
sentry_flutter: ^5.1.0 copied to clipboard
Sentry SDK for Flutter. This package aims to support different Flutter targets by relying on the many platforms supported by Sentry with native SDKs.
We analyzed this package 2 days ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
392 out of 514 API elements (76.3 %) have documentation comments.
Some symbols that are missing documentation: sentry_flutter.Breadcrumb.copyWith, sentry_flutter.Contexts.Contexts.fromJson, sentry_flutter.Contexts.Contexts.new, sentry_flutter.Contexts.addRuntime, sentry_flutter.Contexts.clone.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
ERROR: The body might complete normally, causing 'null' to be returned, but the return type, 'String', is a potentially non-nullable type.
lib/src/widgets_binding_observer.dart:144:17
╷
144 │ static String _lifecycleToString(AppLifecycleState state) {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets_binding_observer.dart
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/src/default_integrations.dart:260:18
╷
260 │ if (instance != null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/default_integrations.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
package_info_plus |
^1.0.0 |
1.4.3+1 | 9.0.0 | |
sentry |
^5.1.0 |
5.1.0 | 9.10.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.5 | 2.1.5 | |
http |
- | 0.13.6 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
package_info_plus_linux |
- | 1.0.5 | 2.0.0 | Discontinued |
package_info_plus_macos |
- | 1.3.0 | 2.0.0 | Discontinued |
package_info_plus_platform_interface |
- | 1.0.2 | 3.2.1 | |
package_info_plus_web |
- | 1.0.6 | 2.0.0 | Discontinued |
package_info_plus_windows |
- | 2.1.0 | 3.0.0 | Discontinued |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 3.0.7 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
win32 |
- | 3.1.4 | 5.15.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.0.0` on package_info_plus does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions package_info_plus to update the constraint.
The constraint `^5.1.0` on sentry does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions sentry to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
BODY_MIGHT_COMPLETE_NORMALLY-lib/src/widgets_binding_observer.dart:144:17- The body might complete normally, causing 'null' to be returned, but the return type, 'String', is a potentially non-nullable type.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.8, Flutter 3.38.8, Dart 3.10.7.
Check the analysis log for details.



