FLUTTER ECOSYSTEM

cronet_http

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

Latest version
1.10.0
30-day downloads
262K
Likes
80
Pub points
0

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The cronet_http package is an Android-specific Flutter plugin that integrates Google's Cronet HTTP client, offering high-performance networking with advanced features like HTTP/2, QUIC, and connection pooling. It is designed to improve network efficiency and reliability on Android devices by leveraging Cronet’s optimized transport layer. This package is particularly useful for applications requiring fast, low-latency HTTP communication. It works exclusively on Android and is maintained by the Dart team.

Use cases
  • High-performance HTTP requests on Android
  • Applications needing HTTP/2 and QUIC support
  • Network-intensive apps requiring efficient connection management
  • Offline-first apps with robust retry mechanisms
  • Apps targeting modern Android devices with optimized networking
Key features
  • Uses Google's Cronet HTTP client
  • Supports HTTP/2 and QUIC protocols
  • Built-in connection pooling
  • Improved performance and reliability
  • Android-only platform support
Suitable for
  • Android-focused Flutter apps
  • Performance-critical networking
  • Apps using modern HTTP standards
  • Developers seeking low-level control over HTTP transport
  • Projects where network efficiency is a priority
Considerations
  • Limited to Android platform
  • Requires Android SDK 21+
  • No iOS or web support
  • Depends on native Cronet library
  • May increase app size due to native dependencies
Supported platformsAndroid

Install package

flutter pub add cronet_http

Categories

Dependencies

Dependency list 4 items

Source repository

Related projects