PackageTrack
Sign in Get early access

native_dio_adapter

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

1.8.0 162K downloads/mo #928 most downloaded on pub.dev cfug/dio

What this package is like to depend on

Last release 26 days ago

29 Jul 2026

Release timing varies

gaps range from 8 days to 12 months

Nearly every release is documented

notes for 14 of 14 stable releases

1 version withdrawn

withdrawn after publishing

4 years old

15 releases · first in 2023

4 releases in the last 12 months

see the full history below

Release timeline

15 releases · Feb 2023 to Jul 2026
2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 15
  1. 1.8.0 29 Jul 2026
    Release notes

    What's new

    • Support cronet_http 1.9.0 by upgrading jni to ^1.0.0 and migrating
      the Cronet-provider-disabled classifier from JniException to JThrowable.
      The minimum Dart SDK is now 3.4.0 and the minimum Flutter version is now
      3.35.6, following the requirements of jni 1.0.0 and cronet_http 1.9.0.
      Fixes #2581.
    Open source →
    Release notes
    • Support cronet_http 1.9.0 by upgrading jni to ^1.0.0 and migrating the Cronet-provider-disabled classifier from JniException to JThrowable. The minimum Dart SDK is now 3.4.0 and the minimum Flutter version is now 3.35.6, following the requirements of jni 1.0.0 and cronet_http 1.9.0. Fixes #2581.
    Open source →
  2. 1.7.0 25 Jul 2026
    Release notes

    What's new

    • Add opt-in createFallbackAdapter to NativeAdapter. On Android, when the
      device has installed Cronet providers but every provider is disabled (for
      example AOSP emulators or devices without Google Play services), the
      supplied factory returns any HttpClientAdapter and requests continue via
      that adapter. Detection is strictly limited to Cronet's
      provider-disabled RuntimeException; every other Cronet error is
      propagated unchanged. Adapter selection is sticky for the lifetime of the
      NativeAdapter. Fixes
      #2444.
    Open source →
    Release notes
    • Add opt-in createFallbackAdapter to NativeAdapter. On Android, when the device has installed Cronet providers but every provider is disabled (for example AOSP emulators or devices without Google Play services), the supplied factory returns any HttpClientAdapter and requests continue via that adapter. Detection is strictly limited to Cronet's provider-disabled RuntimeException; every other Cronet error is propagated unchanged. Adapter selection is sticky for the lifetime of the NativeAdapter. Fixes #2444.
    Open source →
  3. 1.6.0 10 Jun 2026
    Release notes

    What's new

    • Fix memory leak on Android: complete the abortTrigger future after the
      response stream is consumed, allowing CronetUrlRequest JNI references
      and upload body bytes to be garbage collected.
    • Support cupertino_http 3.0.0
    Open source →
    Release notes
    • Fix memory leak on Android: complete the abortTrigger future after the response stream is consumed, allowing CronetUrlRequest JNI references and upload body bytes to be garbage collected.
    • Support cupertino_http 3.0.0
    Open source →
  4. 1.5.1 27 Jan 2026
    Release notes
    • Support request cancellation for native HTTP clients via use of AbortableRequest (introduced in http package from version 1.5.0)
    • Add timeout handling for sendTimeout, connectTimeout, and receiveTimeout in ConversionLayerAdapter
    Open source →
  5. 1.5.0 21 Jul 2025
    Release notes
    • Close the CronetEngine when closing the CronetClient by default.
    • Expose underlying adapters from all adapters.
    Open source →
  6. 1.4.0 01 Jan 2025
    Release notes
    • Support cupertino_http 2.0.0
    Open source →
  7. 1.3.0 30 Dec 2023
    Release notes
    • Provide fix suggestions for dart fix.
    • Bump cronet_http version to >=0.4.0 <=2.0.0.
    Open source →
  8. 1.2.0 30 Nov 2023
    Release notes
    • Adds createCronetEngine and createCupertinoConfiguration to deprecate cronetEngine and cupertinoConfiguration for the NativeAdapter, to avoid platform exceptions.
    • Improve the request stream byte conversion.
    Open source →
  9. 1.1.1 22 Nov 2023
    Release notes
    • Adds the missing flutter dependency.
    Open source →
  10. 1.1.0 31 Oct 2023
    Release notes
    • Bump cronet_http version.
    • Minimal required Dart version is now 3.1.
    • Minimal required Flutter version is now 3.13.0.
    • Allow case-sensitive header keys with the preserveHeaderCase flag through options.
    Open source →
  11. 1.0.0 05 Jun 2023 withdrawn

    Nothing published for this version

  12. 1.0.0+1 06 Jun 2023
    Release notes
    • Update dependencies to make use of stable versions.
    • Replace DioError with DioException.
    • Fix onReceiveProgress callback.
    Open source →
  13. 1.0.0+2 03 Aug 2023
    Release notes
    • Add topics to packages.
    Open source →
  14. 0.1.0 14 Mar 2023
    Release notes
    • Bump cupertino_http and cronet_http versions.
    • Improve code formats according to linter rules.
    Open source →
  15. 0.0.1 13 Feb 2023
    Release notes
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive