native_dio_adapter 1.4.0 copy "native_dio_adapter: ^1.4.0" to clipboard
native_dio_adapter: ^1.4.0 copied to clipboard

A client for dio which makes use of cupertino_http and cronet_http to delegate HTTP requests to the native platform.

45
likes
160/ 160
pub points
33k
downloads

We analyzed this package 28 hours ago, and awarded it 160 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/cfug/dio/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: Apache-2.0.

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

153 out of 196 API elements (78.1 %) have documentation comments.

Some symbols that are missing documentation: native_dio_adapter, native_dio_adapter.ConnectionException.ConnectionException.new, native_dio_adapter.ConnectionException.error, native_dio_adapter.ConnectionException.message, native_dio_adapter.CronetAdapter.CronetAdapter.new.

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:native_dio_adapter/native_dio_adapter.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:native_dio_adapter/native_dio_adapter.dart that imports:
  • package:native_dio_adapter/src/native_adapter.dart that imports:
  • package:native_dio_adapter/src/cupertino_adapter.dart that imports:
  • package:cupertino_http/cupertino_http.dart that declares support for platforms: iOS, macOS.
Package does not support platform `iOS`.

Because:

  • package:native_dio_adapter/native_dio_adapter.dart that imports:
  • package:native_dio_adapter/src/native_adapter.dart that imports:
  • package:native_dio_adapter/src/cronet_adapter.dart that imports:
  • package:cronet_http/cronet_http.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:native_dio_adapter/native_dio_adapter.dart that imports:
  • package:native_dio_adapter/src/native_adapter.dart that imports:
  • package:native_dio_adapter/src/cupertino_adapter.dart that imports:
  • package:cupertino_http/cupertino_http.dart that declares support for platforms: iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:native_dio_adapter/native_dio_adapter.dart that imports:
  • package:native_dio_adapter/src/native_adapter.dart that imports:
  • package:native_dio_adapter/src/cupertino_adapter.dart that imports:
  • package:cupertino_http/cupertino_http.dart that declares support for platforms: iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:native_dio_adapter/native_dio_adapter.dart that imports:
  • package:native_dio_adapter/src/native_adapter.dart that imports:
  • package:native_dio_adapter/src/cronet_adapter.dart that imports:
  • package:cronet_http/cronet_http.dart that declares support for platforms: Android.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:native_dio_adapter/native_dio_adapter.dart that imports:
  • package:native_dio_adapter/src/native_adapter.dart that imports:
  • package:native_dio_adapter/src/cupertino_adapter.dart that imports:
  • package:cupertino_http/cupertino_http.dart that imports:
  • package:cupertino_http/src/cupertino_web_socket.dart that imports:
  • package:cupertino_http/src/cupertino_api.dart that imports:
  • package:cupertino_http/src/utils.dart that imports:
  • package:objective_c/objective_c.dart that imports:
  • package:objective_c/src/selector.dart that imports:
  • package:objective_c/src/internal.dart that imports:
  • package:objective_c/src/c_bindings_generated.dart that imports:
  • dart:ffi

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

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

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

Package Constraint Compatible Latest Notes
cronet_http >=0.4.0 <2.0.0 1.3.3 1.3.3
cupertino_http >=1.0.0 <3.0.0 2.1.0 2.1.0
dio ^5.4.0 5.8.0+1 5.8.0+1
http ^1.0.0 1.3.0 1.3.0
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.0
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
http_parser - 4.1.2 4.1.2
http_profile - 0.1.0 0.1.0
jni - 0.12.2 0.14.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
objective_c - 7.1.0 7.1.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
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.1.4 2.1.4
web - 1.1.1 1.1.1
web_socket - 0.1.6 0.1.6

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

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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 8Aug 5Sep 2Sep 30Oct 28Nov 25Dec 23Jan 20Feb 17Mar 1701k2k3k4k5k6k7k8k9k>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0
45
likes
160
points
33k
downloads

Publisher

verified publisherflutter.cn

Weekly Downloads

2024.09.23 - 2025.04.07

A client for dio which makes use of cupertino_http and cronet_http to delegate HTTP requests to the native platform.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#dio #http #native #network #cronet

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

cronet_http, cupertino_http, dio, flutter, http

More

Packages that depend on native_dio_adapter