All notable changes to this project will be documented in this file.
- Release version 4.0.4
- Updated package version to 4.0.4
- Various bug fixes and improvements
- Release version 4.0.3
- Updated package version to 4.0.3
- Various bug fixes and improvements
- Release version 4.0.2
- Updated package version to 4.0.2
- Various bug fixes and improvements
- Release version 4.0.1
- Updated package version to 4.0.1
- Various bug fixes and improvements
- Cross-platform support: Full Android Google Wallet integration alongside existing iOS Apple Wallet support
- Unified API: Single codebase for both iOS and Android platforms
- New WalletCard model: Comprehensive data structure supporting both platforms
- Platform factory pattern: Automatic platform detection and appropriate implementation selection
- Enhanced file management: Improved file operations with better error handling
- Card generators: Separate generators for Apple Wallet (.pkpass) and Google Wallet (.json) files
- Comprehensive test coverage: 90%+ test coverage with unit and integration tests
- Location-based relevance: Support for location-triggered wallet cards
- Date-based relevance: Support for time-sensitive wallet cards
- Multiple card types: Support for boarding passes, coupons, event tickets, store cards, and generic cards
- Custom styling: Enhanced color and visual customization options
- Network operations: Improved URL downloading with better error handling
- JSON serialization: Automatic JSON serialization/deserialization for all models
- BREAKING: Complete API redesign for better consistency and platform unification
- BREAKING: New model structure with
WalletCard,WalletCardMetadata, andWalletCardVisuals - BREAKING: Method names updated for clarity and consistency
- Improved error handling: Custom
WalletExceptionwith detailed error information - Better dependency management: Updated to latest versions of all dependencies
- Enhanced documentation: Comprehensive README with examples and migration guide
- Modernized codebase: Updated to latest Flutter and Dart standards
- OpenSSL compatibility: Fixed legacy cipher support for older certificate formats
- Memory management: Improved file cleanup and memory usage
- Platform detection: More reliable platform-specific feature detection
- Error propagation: Better error handling and user feedback
- BREAKING: Removed deprecated methods from v3.x
- BREAKING: Removed platform-specific APIs in favor of unified interface
- Dependency cleanup: Removed unused dependencies
- Implemented clean architecture with separation of concerns
- Added abstract platform interfaces for better testability
- Introduced factory pattern for platform-specific implementations
- Enhanced error handling with custom exception types
- Added comprehensive linting rules
- Implemented automated code generation for JSON serialization
- Added mock generation for testing
- Improved code documentation and inline comments
- Added unit tests for all core functionality
- Added integration tests for platform-specific features
- Added mock testing for network operations
- Added test coverage reporting
- Enhanced Passkit integration
- Support for multiple card addition
- Improved certificate handling
- Better error messages for iOS-specific issues
- NEW: Full Google Wallet API integration
- NEW: JWT-based pass saving
- NEW: Pass link generation
- NEW: Google Pay integration
Old API:
// iOS specific
await FlutterWalletCard.addPasskit(passData);
// Platform checking
if (Platform.isIOS) {
// iOS code
}New API:
// Unified API
final card = WalletCard(/* ... */);
await FlutterWalletCard.addToWallet(card);
// Automatic platform handling
bool available = await FlutterWalletCard.isWalletAvailable();- Replace
PasskitFilewithWalletCard - Use unified methods instead of platform-specific ones
- Update model structure to new format
- Handle new exception types
archive: ^3.4.10 (was ^3.3.0)dio: ^5.4.0 (was ^4.0.6)path_provider: ^2.1.2 (was ^2.0.11)uuid: ^4.3.3 (was ^3.0.6)
json_annotation: ^4.9.0build_runner: ^2.4.7json_serializable: ^6.7.1mockito: ^5.4.4
- Fixed OpenSSL legacy cipher compatibility issues
- Fixed memory leaks in file operations
- Fixed platform detection edge cases
- Fixed error handling in network operations
- Fixed certificate parsing on newer OpenSSL versions
- Enhanced certificate validation
- Improved error message sanitization
- Better handling of sensitive data
- Secure file operations
- Support for Flutter 3.0
- Improved error handling
- Better documentation
- iOS compatibility issues
- Memory management improvements
- Null safety support
- Flutter 2.0 compatibility
- Enhanced Passkit generation
- BREAKING: Migrated to null safety
- Updated minimum Dart SDK to 2.12.0
- Various stability improvements
- Support for custom pass fields
- Enhanced image handling
- Better error messages
- iOS 15 compatibility
- Certificate handling improvements
- Complete rewrite of the plugin
- Support for all Passkit features
- Enhanced documentation
- BREAKING: New API structure
- Improved performance
- Initial release
- Basic Passkit support for iOS
- File-based pass generation
- URL-based pass downloading
- π Major Features: Significant new functionality
- π§ Technical: Internal improvements and refactoring
- π± Platform: Platform-specific changes
- π Migration: Breaking changes and migration information
- π¦ Dependencies: Dependency updates
- π Bug Fixes: Bug fixes and stability improvements
- π Security: Security-related changes