FLUTTER ECOSYSTEM

cookie_jar

A cookie manager for http requests in Dart, help you to deal with the cookie policies and persistence.

Latest version
4.0.9
30-day downloads
198K
Likes
105
Pub points
160

Package Overview

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

Overview

A Dart package that manages cookies for HTTP requests, enabling seamless handling of cookie policies and persistent storage across sessions. It integrates with HTTP clients to automatically store, retrieve, and send cookies based on domain and path rules. Ideal for applications requiring stateful interactions with web services, such as login sessions or user preferences. The package supports multiple platforms including Android, iOS, macOS, Windows, and Linux, ensuring cross-platform consistency in cookie management.

Use cases
  • Managing session cookies in web APIs
  • Persisting user login states
  • Automating cookie handling in HTTP requests
  • Supporting stateful web interactions
  • Enabling secure cookie storage
Key features
  • Automatic cookie persistence
  • Cross-platform compatibility
  • Integration with HTTP clients
  • Policy-based cookie management
  • Secure storage mechanisms
Suitable for
  • Web API clients needing session management
  • Applications requiring long-term cookie storage
  • Developers building authenticated web services
  • Cross-platform mobile and desktop apps
  • Apps with complex cookie policies
Considerations
  • Requires manual integration with HTTP client instances
  • May need additional configuration for custom storage
  • Not suitable for high-security environments without extra safeguards
  • Limited to basic cookie operations
  • Depends on underlying HTTP client implementation
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add cookie_jar

Categories

Dependencies

Dependency list 2 items

Source repository

Related projects