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