connection_manager 1.2.3 copy "connection_manager: ^1.2.3" to clipboard
connection_manager: ^1.2.3 copied to clipboard

A simple connection manager to work with API and network calls

2
likes
160/ 160
pub points
172
downloads

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

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

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/mobilesoftcode/connection_manager/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

103 out of 164 API elements (62.8 %) have documentation comments.

Some symbols that are missing documentation: base_connection_manager, base_connection_manager.BaseConnectionManager, base_connection_manager.BaseConnectionManager.getResponse, connection_manager, connection_manager.APIRequest.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:connection_manager/connection_manager.dart that imports:
  • package:graphql_flutter/graphql_flutter.dart that imports:
  • package:graphql_flutter/src/hive_init.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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:connection_manager/connection_manager.dart that imports:
  • package:graphql_flutter/graphql_flutter.dart that imports:
  • package:graphql_flutter/src/widgets/hooks/subscription.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:connection_manager/connection_manager.dart that imports:
  • package:graphql_flutter/graphql_flutter.dart that imports:
  • package:graphql_flutter/src/widgets/hooks/subscription.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:connection_manager/connection_manager.dart that imports:
  • package:graphql_flutter/graphql_flutter.dart that imports:
  • package:graphql_flutter/src/widgets/hooks/subscription.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:connection_manager/connection_manager.dart that imports:
  • package:graphql_flutter/graphql_flutter.dart that imports:
  • package:graphql_flutter/src/widgets/hooks/subscription.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:connection_manager/connection_manager.dart that imports:
  • package:graphql_flutter/graphql_flutter.dart that imports:
  • package:graphql_flutter/src/hive_init.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
cookie_jar ^4.0.8 4.0.8 4.0.8
dio ^5.3.2 5.7.0 5.7.0
dio_cookie_manager ^3.1.0 3.1.1 3.1.1
equatable ^2.0.5 2.0.7 2.0.7
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.1.3 8.1.6 8.1.6
graphql_flutter ^5.1.2 5.2.0-beta.8 5.2.0-beta.8
html_unescape ^2.0.0 2.0.0 2.0.0
http ^1.1.0 1.2.2 1.2.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
bloc - 8.1.4 8.1.4
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
connectivity_plus - 6.1.1 6.1.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
crypto - 3.0.6 3.0.6
dbus - 0.7.10 0.7.10
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
flutter_hooks - 0.20.5 0.20.5
flutter_web_plugins - 0.0.0 0.0.0
gql - 1.0.1-alpha+1730759315362 1.0.1-alpha+1730759315362
gql_dedupe_link - 2.0.4-alpha+1715521079596 2.0.4-alpha+1715521079596
gql_error_link - 1.0.0+1 1.0.0+1
gql_exec - 1.1.1-alpha+1699813812660 1.1.1-alpha+1699813812660
gql_http_link - 1.1.0 1.1.0
gql_link - 1.0.1-alpha+1730759315378 1.0.1-alpha+1730759315378
gql_transform_link - 1.0.0 1.0.0
graphql - 5.2.0-beta.10 5.2.0-beta.10
hive - 2.2.3 2.2.3
http_parser - 4.1.1 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
normalize - 0.9.1 0.9.1
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
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 - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
rxdart - 0.28.0 0.28.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0
yaml - 3.1.3 3.1.3

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.