raygun4flutter 1.3.0 copy "raygun4flutter: ^1.3.0" to clipboard
raygun4flutter: ^1.3.0 copied to clipboard

Raygun4flutter package is the official Raygun crash reporting provider for Flutter.

120/ 160
pub points
1.22k
downloads

We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

23 out of 39 API elements (59.0 %) have documentation comments.

Some symbols that are missing documentation: raygun4flutter, raygun4flutter.OnBeforeSendCallback, raygun4flutter.RaygunBreadcrumbLevel, raygun4flutter.RaygunBreadcrumbMessage, raygun4flutter.RaygunBreadcrumbMessage.RaygunBreadcrumbMessage.fromJson.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:raygun4flutter/raygun4flutter.dart that imports:
  • package:raygun4flutter/src/messages/raygun_user_info.dart that imports:
  • package:raygun4flutter/src/services/settings.dart that imports:
  • package:raygun4flutter/src/messages/network_info.dart that imports:
  • package:network_info_plus/network_info_plus.dart that imports:
  • package:network_info_plus/src/network_info_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:raygun4flutter/raygun4flutter.dart that imports:
  • package:raygun4flutter/src/messages/raygun_user_info.dart that imports:
  • package:raygun4flutter/src/services/settings.dart that imports:
  • package:raygun4flutter/src/messages/network_info.dart that imports:
  • package:network_info_plus/network_info_plus.dart that imports:
  • package:network_info_plus/src/network_info_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:raygun4flutter/raygun4flutter.dart that imports:
  • package:raygun4flutter/src/messages/raygun_user_info.dart that imports:
  • package:raygun4flutter/src/services/settings.dart that imports:
  • package:raygun4flutter/src/messages/network_info.dart that imports:
  • package:network_info_plus/network_info_plus.dart that imports:
  • package:network_info_plus/src/network_info_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:raygun4flutter/raygun4flutter.dart that imports:
  • package:raygun4flutter/src/messages/raygun_user_info.dart that imports:
  • package:raygun4flutter/src/services/settings.dart that imports:
  • package:raygun4flutter/src/messages/network_info.dart that imports:
  • package:network_info_plus/network_info_plus.dart that imports:
  • package:network_info_plus/src/network_info_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:raygun4flutter/raygun4flutter.dart that imports:
  • package:raygun4flutter/src/raygun_crash_reporting.dart that imports:
  • package:raygun4flutter/src/utils/machine_name_util.dart that imports:
  • package:raygun4flutter/src/utils/_machine_name_util_device.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:raygun4flutter/raygun4flutter.dart that imports:
  • package:raygun4flutter/src/messages/raygun_user_info.dart that imports:
  • package:raygun4flutter/src/services/settings.dart that imports:
  • package:raygun4flutter/src/messages/network_info.dart that imports:
  • package:network_info_plus/network_info_plus.dart that imports:
  • package:network_info_plus/src/network_info_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:raygun4flutter/raygun4flutter.dart that imports:
  • package:raygun4flutter/src/messages/raygun_user_info.dart that imports:
  • package:raygun4flutter/src/services/settings.dart that imports:
  • package:raygun4flutter/src/messages/network_info.dart that imports:
  • package:network_info_plus/network_info_plus.dart that imports:
  • package:network_info_plus/src/network_info_plus_linux.dart that imports:
  • package:nm/nm.dart that imports:
  • package:nm/src/network_manager_client.dart that imports:
  • package:dbus/dbus.dart that imports:
  • package:dbus/src/dbus_value.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

INFO: 'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.

lib/src/utils/_device_info_util_device.dart:11:36

   ╷
11 │   environment.windowsBoundHeight = window.physicalSize.height.toInt();
   │                                    ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/_device_info_util_device.dart

INFO: 'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.

lib/src/utils/_device_info_util_device.dart:12:35

   ╷
12 │   environment.windowsBoundWidth = window.physicalSize.width.toInt();
   │                                   ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/_device_info_util_device.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
connectivity_plus >=2.1.0 <4.0.0 3.0.6 7.0.0
device_info_plus >=7.0.1 <9.0.0 8.2.2 12.1.0
http ^0.13.3 0.13.6 1.5.0
intl ^0.17.0 0.17.0 0.20.2
json_annotation ^4.1.0 4.9.0 4.9.0
network_info_plus >=2.1.1 <4.0.0 3.0.5 7.0.0
package_info_plus ^3.0.1 3.1.2 9.0.0
path_provider ^2.0.5 2.1.5 2.1.5
shared_preferences ^2.0.8 2.5.3 2.5.3
stack_trace ^1.10.0 1.12.1 1.12.1
uuid ^3.0.4 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 1.2.4 2.0.1
crypto - 3.0.6 3.0.6
dbus - 0.7.11 0.7.11
device_info_plus_platform_interface - 7.0.3 7.0.3
ffi - 2.1.4 2.1.4
file - 6.1.4 7.0.1
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
network_info_plus_platform_interface - 1.1.3 2.0.2
nm - 0.5.0 0.5.0
package_info_plus_platform_interface - 2.0.1 3.2.1
path - 1.9.1 1.9.1
path_provider_android - 2.2.19 2.2.19
path_provider_foundation - 2.4.2 2.4.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.15 2.4.15
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.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
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 4.1.4 5.15.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 7 issues. Showing the first 2:

The constraint `>=2.1.0 <4.0.0` on connectivity_plus does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.

The constraint `>=7.0.1 <9.0.0` on device_info_plus does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions device_info_plus to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • NON_CONSTANT_CASE_EXPRESSION - lib/src/messages/network_info.dart:46:12 - Case expressions must be constant.
  • UNDEFINED_ENUM_CONSTANT - lib/src/messages/network_info.dart:46:31 - There's no constant named 'bluetooth' in 'ConnectivityResult'.
  • UNDEFINED_FUNCTION - lib/src/messages/raygun_breadcrumb_message.g.dart:15:11 - The function '$enumDecodeNullable' isn't defined.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: