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 hours 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
391 out of 475 API elements (82.3 %) have documentation comments.
Some symbols that are missing documentation: sentry_flutter.Breadcrumb.copyWith
, sentry_flutter.Contexts.Contexts.fromJson
, sentry_flutter.Contexts.addRuntime
, sentry_flutter.Contexts.clone
, sentry_flutter.Contexts.copyWith
.
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/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 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 |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_web_plugins |
flutter |
0.0.0 | 0.0.0 |
package_info_plus |
^1.0.0 |
1.4.3+1 | 8.1.1 |
sentry |
^5.1.0 |
5.1.0 | 8.9.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
ffi |
- | 2.1.3 | 2.1.3 |
http |
- | 0.13.6 | 1.2.2 |
http_parser |
- | 4.0.2 | 4.1.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
package_info_plus_linux |
- | 1.0.5 | 2.0.0 |
package_info_plus_macos |
- | 1.3.0 | 2.0.0 |
package_info_plus_platform_interface |
- | 1.0.2 | 3.0.1 |
package_info_plus_web |
- | 1.0.6 | 2.0.0 |
package_info_plus_windows |
- | 2.1.0 | 3.0.0 |
path |
- | 1.9.1 | 1.9.1 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.12.0 | 1.12.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
uuid |
- | 3.0.7 | 4.5.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
win32 |
- | 3.1.4 | 5.8.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.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.