dio_cookie_manager 2.1.4 copy "dio_cookie_manager: ^2.1.4" to clipboard
dio_cookie_manager: ^2.1.4 copied to clipboard

A cookie manager for Dio, which supports persistent cookies in RAM and file.

125
likes
120/ 140
pub points
98%
popularity

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

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/cfug/dio/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

5 out of 7 API elements (71.4 %) have documentation comments.

Some symbols that are missing documentation: dio_cookie_manager, dio_cookie_manager.CookieManager.cookieJar.

10/10 points: Package has an example

OK
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 not compatible with platform Web

Because:

  • package:dio_cookie_manager/dio_cookie_manager.dart that imports:
  • package:dio_cookie_manager/src/cookie_mgr.dart that imports:
  • package:cookie_jar/cookie_jar.dart that imports:
  • package:cookie_jar/src/file_storage.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

INFO: 'DioError' is deprecated and shouldn't be used. Use DioException instead. This will be removed in 6.0.0.

lib/src/cookie_mgr.dart:64:19

   ╷
64 │       final err = DioError(requestOptions: options, error: e, stackTrace: s);
   │                   ^^^^^^^^
   ╵

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

INFO: 'DioError' is deprecated and shouldn't be used. Use DioException instead. This will be removed in 6.0.0.

lib/src/cookie_mgr.dart:73:21

   ╷
73 │         final err = DioError(
   │                     ^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
cookie_jar ^3.0.0 3.0.1 4.0.8
dio ^5.0.0 5.4.3+1 5.4.3+1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
http_parser - 4.0.2 4.0.2
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2

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

The constraint `^3.0.0` on cookie_jar does not support the stable version `4.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

125
likes
120
pub points
98%
popularity

Publisher

verified publisherflutter.cn

A cookie manager for Dio, which supports persistent cookies in RAM and file.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cookie_jar, dio

More

Packages that depend on dio_cookie_manager