flutter_cookie_consent 1.1.0
flutter_cookie_consent: ^1.1.0 copied to clipboard
A Flutter package for implementing GDPR-compliant cookie consent banners and privacy preferences.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 - 2026-07-02 #
Added #
- Swift Package Manager (SPM) support for iOS. The iOS plugin now ships a
Package.swiftand follows the SPM source layout, resolving the "The following plugins do not support Swift Package Manager for iOS" warning. CocoaPods remains fully supported for backward compatibility.
Changed #
- Modernized the web implementation: replaced
universal_htmlwith the standards-basedpackage:web+dart:js_interop. The web build is now WebAssembly (Wasm) compatible. - Corrected the iOS podspec metadata (version, homepage, author, summary) which still held template placeholder values.
- Bumped dependencies:
flutter_lints^6.0.0,plugin_platform_interface^2.1.8.
Fixed #
- Rewrote the mobile unit tests to exercise the real
shared_preferences-backed implementation (they previously mocked an unused method channel and failed).
1.0.3 - 2025-01-27 #
Changed #
- Fixed web platform compatibility issues by replacing deprecated dart:html with universal_html
- Added conditional Registrar import for better cross-platform support
- Updated README.md with improved documentation
1.0.1 - 2025-04-21 #
Added #
- Added shared_preferences support for mobile platforms (Android/iOS)
- Improved storage implementation for cookie preferences
Changed #
- Updated platform support information in README
- Improved documentation and examples
Fixed #
- Fixed cookie preferences persistence on mobile platforms
- Fixed platform-specific storage implementation
1.0.0 - 2025-04-18 #
Added #
- Initial release of Flutter Cookie Consent
- Basic cookie consent banner implementation
- Support for multiple cookie categories (Essential, Analytics, Marketing)
- Customizable banner position (top/bottom)
- Settings dialog for detailed cookie preferences
- Persistent storage of user preferences
- Platform-specific implementations for Web, Android, and iOS
- Comprehensive documentation and examples
- Dark mode support
- Localization support
- Customizable animations
- Accessibility support
- Windows, macOS, and Linux platform support
Changed #
- Improved banner UI/UX design
- Enhanced performance and memory usage
- Optimized storage implementation
- Updated dependencies to latest versions
- Converted all UI text and comments to English
Fixed #
- Fixed banner positioning issues on some devices
- Resolved storage permission problems on Android
- Fixed localization loading issues
- Addressed accessibility concerns
Security #
- Implemented secure storage for user preferences
- Added data encryption for sensitive information
- Enhanced privacy protection measures