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
150/ 160
pub points
56
downloads

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

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

Partially passed check 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.

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

103 out of 167 API elements (61.7 %) 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.

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

Failed check 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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Failed report section
Support up-to-date dependencies
30 / 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
cookie_jar ^4.0.8 4.0.8 4.0.8
dio ^5.3.2 5.8.0+1 5.8.0+1
dio_cookie_manager ^3.1.0 3.2.0 3.2.0
equatable ^2.0.5 2.0.7 2.0.7
flutter_bloc ^8.1.3 8.1.6 9.1.1
graphql_flutter ^5.1.2 5.2.0 5.2.0
html_unescape ^2.0.0 2.0.0 2.0.0
http ^1.1.0 1.4.0 1.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
bloc - 8.1.4 9.0.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
connectivity_plus - 6.1.4 6.1.4
connectivity_plus_platform_interface - 2.0.1 2.0.1
crypto - 3.0.6 3.0.6
dbus - 0.7.11 0.7.11
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
flutter_hooks - 0.20.5 0.21.2
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.1 5.2.1
hive - 2.2.3 2.2.3
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
normalize - 0.9.1 0.10.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.17 2.2.17
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.1.0 7.0.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5 6.1.5
rxdart - 0.28.0 0.28.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stream_channel - 2.1.4 2.1.4
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.2.0
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.6.0
yaml - 3.1.3 3.1.3

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

The constraint `^8.1.3` on flutter_bloc does not support the stable version `9.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
150
points
56
downloads

Publisher

verified publishermobilesoft.it

Weekly Downloads

A simple connection manager to work with API and network calls

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cookie_jar, dio, dio_cookie_manager, equatable, flutter, flutter_bloc, graphql_flutter, html_unescape, http

More

Packages that depend on connection_manager