dynamic_app_icon_plus 1.0.0
dynamic_app_icon_plus: ^1.0.0 copied to clipboard
A Flutter plugin for dynamically changing app icons on Android at runtime with simple YAML configuration. Android only.
Changelog #
All notable changes to the dynamic_app_icon_plus
plugin will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 #
Added #
- Stable Release: First stable release of dynamic_app_icon_plus plugin
- Production Ready: Plugin is now ready for production use
- Comprehensive Documentation: Complete documentation and examples
- Robust Error Handling: Improved error handling and validation
Changed #
- Version Bump: Major version bump to 1.0.0 indicating stable API
- Documentation Updates: Enhanced README and usage examples
Technical Details #
- Stable API with backward compatibility guarantees
- Comprehensive test coverage
- Production-ready error handling
- Optimized performance for icon switching
- Added
namespace 'com.example.temp_plugin'
to plugin's build.gradle - Updated
compileSdkVersion
from 31 to 34 - Updated Android Gradle Plugin from 7.3.0 to 8.1.0
- Fixed example app's build.gradle to use
compileSdkVersion 34
0.0.1 #
Added #
- Initial release of dynamic_app_icon_plus plugin
- Support for dynamically changing Android app icons at runtime
- YAML-based configuration system for icon definitions
- Command-line setup tool for automatic project configuration
- Android manifest generation with activity aliases
- Comprehensive validation and error handling
- Support for Flutter 3.0.0+ and Dart 3.0.0+
- Backward compatibility with older Flutter versions
- Simple and advanced icon configuration formats
- Optional resolution support for different screen densities
- Automatic backup and restore functionality for Android manifests
- Comprehensive test suite with 10 test cases
- Example app demonstrating plugin usage
- Detailed documentation and usage examples
Features #
- `DynamicAppIconPlus.changeIcon()` - Change app icon to specified identifier
- `DynamicAppIconPlus.resetToDefault()` - Reset to default app icon
- `DynamicAppIconPlus.getCurrentIcon()` - Get currently active icon identifier
- `DynamicAppIconPlus.isSupported()` - Check platform support
- Command-line tool: `dart run dynamic_app_icon_plus:dynamic_app_icon_plus`
Technical Details #
- Uses Flutter v2 embedding for Android
- Implements both modern and legacy plugin registration
- Method channel communication for platform-specific functionality
- YAML parsing with validation
- File system operations for configuration management
- Android PackageManager integration for icon switching