newrelic_mobile 1.1.6 copy "newrelic_mobile: ^1.1.6" to clipboard
newrelic_mobile: ^1.1.6 copied to clipboard

Flutter plugin for NewRelic Mobile. This plugin allows you to instrument Flutter apps with help of native New Relic Android and iOS agents.

40
likes
130/ 160
pub points
48.9k
downloads

We analyzed this package 16 hours ago, and awarded it 130 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

108 out of 222 API elements (48.6 %) have documentation comments.

Some symbols that are missing documentation: config, config.Config, config.Config.Config, config.Config.accessToken, config.Config.analyticsEventEnabled.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:newrelic_mobile/newrelic_mobile.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:newrelic_mobile/newrelic_mobile.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:newrelic_mobile/newrelic_mobile.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:newrelic_mobile/newrelic_mobile.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:newrelic_mobile/newrelic_mobile.dart that imports:
  • package:newrelic_mobile/metricunit.dart that imports:
  • package:newrelic_mobile/utils/platform_manager.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.dev/web/wasm for details.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/newrelic_mobile/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: Empty catch block.

lib/newrelic_http_client.dart:280:20

    ╷
280 │       } catch (ex) {}
    │                    ^^
    ╵

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

INFO: Empty catch block.

lib/newrelic_http_client.dart:436:20

    ╷
436 │       } catch (ex) {}
    │                    ^^
    ╵

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

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

10/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
go_router any 14.6.2 14.6.2
stack_trace ^1.11.0 1.12.0 1.12.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
flutter_web_plugins - 0.0.0 0.0.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4

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

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 3 errors:

  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/newrelic_navigation_observer.dart:18:29 - The name 'CustomTransitionPage' isn't defined, so it can't be used in an 'is' expression.
  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/newrelic_navigation_observer.dart:36:29 - The name 'CustomTransitionPage' isn't defined, so it can't be used in an 'is' expression.
  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/newrelic_navigation_observer.dart:57:32 - The name 'CustomTransitionPage' isn't defined, so it can't be used in an 'is' expression.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

40
likes
130
points
48.9k
downloads

Publisher

verified publishernewrelic.com

Weekly Downloads

Flutter plugin for NewRelic Mobile. This plugin allows you to instrument Flutter apps with help of native New Relic Android and iOS agents.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, go_router, stack_trace

More

Packages that depend on newrelic_mobile