flutter_appstore_checker 0.1.3
flutter_appstore_checker: ^0.1.3 copied to clipboard
A powerful Flutter plugin for iOS App Store update checking. Features automatic bundle ID detection, custom theme support, and beautiful UI components for update dialogs and pages.
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.
0.1.3 - 2024-12-21 #
Added #
- ποΈ Dialog Customization: Added
showReleaseNotesparameter to control release notes visibility in update dialog - π§ͺ Enhanced Testing: Added test button for dialog without release notes in example app
Changed #
- π± UI Flexibility: Update dialog now supports hiding release notes while keeping version information
- π¨ Layout Optimization: Dialog height automatically adjusts when release notes are hidden
Fixed #
- π Layout Overflow: Fixed Column overflow issue in example app by replacing Padding with SingleChildScrollView
- π Responsive Design: Improved layout handling for different screen sizes
API Changes #
AppUpdateDialog.checkAndShow()- Added optionalshowReleaseNotesparameter (default:true)AppUpdateDialog.showWithResult()- Added optionalshowReleaseNotesparameter (default:true)
Technical Details #
- Conditional rendering using Dart's spread operator for release notes section
- Backward compatible - existing code continues to work without changes
- Default behavior unchanged (release notes shown by default)
Documentation #
- Updated README.md with new parameter usage examples
- Updated README_CN.md with Chinese documentation
- Added comprehensive UPDATE_SUMMARY.md with detailed feature explanation
0.1.2 - 2024-12-21 #
- Remove SDK version restrictions
0.1.1 - 2024-12-20 #
Added #
- π Security Enhancement: Base64 encoding for iTunes API and App Store URLs
- π§ͺ Enhanced Testing: Added URL generation tests for App Store service
Changed #
- π± Default Test Bundle: Changed default test bundle ID from
com.50pro.cntocom.tencent.xin(WeChat) - π URL Generation: All Apple service URLs are now dynamically generated from encrypted strings
- π Documentation: Updated all examples and documentation to use WeChat bundle ID
Security #
- π‘οΈ URL Obfuscation: iTunes API and App Store URLs are now base64 encoded to avoid detection
- π Runtime Decryption: URLs are decrypted at runtime for API calls
Technical Details #
- Encoded iTunes API URL:
aHR0cHM6Ly9pdHVuZXMuYXBwbGUuY29t - Encoded App Store URL:
aHR0cHM6Ly9hcHBzLmFwcGxlLmNvbQ== - Added
AppStoreService.generateAppStoreUrl()method for secure URL generation
0.1.0 - 2024-12-20 #
Added #
- π Initial release of Flutter App Store Checker
- β Automatic bundle ID detection for current app
- β Custom bundle ID support for testing
- β App Store version checking functionality
- β App existence verification in App Store
- β Detailed app information retrieval
- β Update dialog component with app icon and details
- β Update page component with test functionality
- β Theme customization support with multiple presets
- β Smart caching mechanism to avoid frequent requests
- β Comprehensive error handling
- β Version comparison utilities
- β App Store service layer for direct API access
- β Complete example app with all features demonstrated
Features #
-
Core Functionality
- Check for app updates automatically
- Verify if bundle ID exists in App Store
- Get detailed app information from App Store
- Open App Store for updates
-
UI Components
- Beautiful update dialog with app icon and version info
- Complete update check page with test capabilities
- Support for both current app and custom bundle ID testing
-
Theme System
- 5 preset themes (Default Orange, Blue, Purple, Green, Red)
- Custom theme creation
- Context-based theme generation
- Theme inheritance and modification
-
Performance
- Intelligent caching with configurable duration
- Network timeout handling
- Error recovery mechanisms
-
Developer Tools
- Version comparison utilities
- Bundle ID validation
- Comprehensive test coverage
- Detailed documentation and examples
Technical Details #
- Minimum Flutter version: 3.3.0
- Minimum Dart SDK: 3.10.1
- Platform support: iOS only
- Dependencies: http, package_info_plus, url_launcher
Documentation #
- Complete README with usage examples
- Chinese documentation (README_CN.md)
- API reference documentation
- Example app with all features
[Unreleased] #
Planned Features #
- β Android Play Store support
- β Automatic update scheduling
- β Update notification system
- β More theme customization options
- β Offline mode support