PackageTrack
Sign in Get early access

cronet_http

An Android Flutter plugin that provides access to the Cronet HTTP client.

1.9.0 260K downloads/mo #743 most downloaded on pub.dev dart-lang/http

What this package is like to depend on

Last release 2 months ago

23 Jun 2026

Release timing varies

gaps range from 3 weeks to 8 months

Nearly every release is documented

notes for 27 of 27 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

29 releases · first in 2022

4 releases in the last 12 months

see the full history below

Release timeline

29 releases · Aug 2022 to Jun 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 29
  1. 1.9.0 23 Jun 2026
    Release notes
    • Add CronetEngine.startNetLogToFile and CronetEngine.stopNetLog.
    • Decode Java CronetException into Dart equivalents.
    • Upgrade to Cronet 18.1.1.
    • Upgrade Kotlin Gradle Plugin version to 2.1.0 for compatibility with the upgraded Cronet dependency.
    • Upgrade package:jni to 1.0 and package:jnigen to 0.16.0.
    Open source →
  2. 1.8.0 18 Feb 2026
    Release notes
    • Made callbacks asynchronous to prevent background errors caused by the unavailability of the Dart callback.
    • Change the compile SDK version to 35 for compatibility with package:jni.
    • Add support for QUIC hints.
    Open source →
  3. 1.7.0 24 Nov 2025
    Release notes
    • Fix a bug where cronet would throw ClassNotFoundException in debug mode.
    • Upgrade package:jni to 0.15.2 and package:jnigen to 0.15.0.
    Open source →
  4. 1.6.0 15 Oct 2025
    Release notes
    • Upgrade the cronet-embedded dependency to 141.7340 version to support 16 KB page sizes. cronet-embedded has target SDK version of 24.
    • Change the minimum SDK version to 24.
    • Change the compile SDK version to 34 for compatibility with AGP 8.13.
    Open source →
  5. 1.5.0 08 Aug 2025
    Release notes
    • Fixed a bug in IOClient where the HttpClient's response stream was
      cancelled after the response stream was completed.
    • Added support for aborting requests before they complete.
    • Clarify that some header names may not be sent/received.
    Open source →
    Release notes
    • Add the ability to abort requests.
    • Upgrade Cronet dependencies version.
    Open source →
  6. 1.4.0 18 Jul 2025
    Release notes
    • Add a new CronetStreamedResponse class that provides additional information about the HTTP response.
    • Fix a Flutter warning by upgrading to Kotlin 1.18.10.
    • Upgrade package:jni and package:jnigen to 0.14.2.
    Open source →
  7. 1.3.4 06 May 2025
    Release notes
    • Cancel requests when the response stream is cancelled.
    Open source →
  8. 1.3.3 21 Mar 2025
    Release notes
    • Throw ClientException if CronetClient.send runs out of Java heap while allocating memory for the request body.
    • Upgrade package:jni and package:jnigen to 0.12.0.
    • Use declarative style in Gradle plugins.
    Open source →
  9. 1.3.2 12 Jul 2024
    Release notes
    • Upgrade package:jni to 0.10.1 and package:jnigen to 0.10.0 to fix method calling bugs and a debug mode issue.
    Open source →
  10. 1.3.1 05 Jun 2024
    Release notes
    • Add relevant rules with the ProGuard to avoid runtime exceptions.
    • Upgrade package:jnigen to 0.9.2 to fix a bug for 32-bit architectures.
    Open source →
  11. 1.3.0 23 May 2024
    Release notes
    • Fixed unintended HTML tags in doc comments.
    • Switched BrowserClient to use Fetch API instead of XMLHttpRequest.
    Open source →
    Release notes
    Open source →
  12. 1.2.1 17 May 2024
    Release notes
    • Upgrade package:jni to 0.9.2 to fix the build error in the latest versions of Flutter.
    • Upgrade package:jnigen to 0.9.1 and regenerate the bindings to improve the efficiency of function calls.
    Open source →
  13. 1.2.0 20 Mar 2024
    Release notes
    • Support the Cronet embedding dependency with --dart-define=cronetHttpNoPlay=true.
    • Fix a bug in the documentation where isOwned is used rather than closeEngine.
    • Upgrade package:jni to 0.7.3 to fix a SIGSEGV caused by a null pointer dereference.
    Open source →
  14. 1.1.1 22 Feb 2024
    Release notes
    • Make it possible to construct CronetClient with custom a CronetEngine while still allowing CronetClient to close the CronetEngine.
    Open source →
  15. 1.1.0 17 Jan 2024
    Release notes
    • Use package:http_image_provider in the example application.
    • Support Android API 21+.
    • Support BaseResponseWithUrl.
    Open source →
  16. 1.0.0 21 Dec 2023
    Release notes
    • First non-experimental release; no semantic changes from version 0.1.6.
    Open source →
    Release notes
    • No functional changes.
    Open source →
  17. 0.4.2 30 Nov 2023
    Release notes
    • Require package:jni >= 0.7.2 to remove a potential buffer overflow.
    • Fix a bug where incorrect HTTP request methods were sent.
    Open source →
  18. 0.4.1 02 Nov 2023
    Release notes
    • Require package:jni >= 0.7.1 so that depending on package:cronet_http does not break macOS builds.

    • Fix obsolete CronetClient() constructor usage.

    Open source →
  19. 0.4.0 10 Oct 2023
    Release notes
    • Use more efficient operations when copying bytes between Java and Dart.
    Open source →
  20. 0.4.0-jni 14 Sep 2023 pre-release

    Nothing published for this version

  21. 0.3.0-jni 12 Sep 2023 pre-release
    Release notes
    • Switch to using package:jnigen for bindings to Cronet
    • Support for running in background isolates.
    • Breaking Change: CronetEngine.build() returns a CronetEngine rather than a Future<CronetEngine> and CronetClient.fromCronetEngineFuture() has been removed because it is no longer necessary.
    Open source →
  22. 0.2.1 22 May 2023
    Release notes
    • Require Dart 2.19
    • Support package:http 1.0.0
    Open source →
  23. 0.2.0 25 Jan 2023
    Release notes
    • Restructure package:cronet_http to offer a package:cronet_http/cronet_http.dart import.
    Open source →
  24. 0.1.2 17 Jan 2023
    Release notes
    • Fix a NPE that occurs when an error occurs before a response is received.
    Open source →
  25. 0.1.1 14 Jan 2023
    Release notes
    • CronetClient throws an exception if send is called after close.
    Open source →
  26. 0.1.0 03 Jan 2023
    Release notes
    • Add a CronetClient that accepts a Future<CronetEngine>.
    • Modify the example application to create a CronetClient using a Future<CronetEngine>.
    Open source →
  27. 0.0.3 21 Sep 2022
    Release notes Open source →
  28. 0.0.2 07 Sep 2022
    Release notes
    • Set StreamedResponse.reasonPhrase and StreamedResponse.request.
    Open source →
  29. 0.0.1 24 Aug 2022
    Release notes
    • Initial development release.
    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