app_lifecycle_executor 0.0.3
app_lifecycle_executor: ^0.0.3 copied to clipboard
A Flutter package for executing lifecycle callbacks on app install and version upgrades across all platforms.
0.0.3 #
- Add support for all Flutter platforms: Windows, Linux, macOS, Web (in addition to iOS and Android)
- Update package description to reflect multi-platform support
0.0.2 #
- Update dependencies to latest versions:
package_info_plus: ^8.1.1 → ^9.0.0shared_preferences: ^2.3.3 → ^2.5.3flutter_lints: ^5.0.0 → ^6.0.0
- Fix lint warnings in example code
- Update iOS deployment target to 13.0
- Clean up library declaration
0.0.1 #
- Initial release
- Execute callbacks on first app installation
- Execute callbacks on app version upgrades with
Versionobjects (usingversionpackage) - Register callbacks via
AppLifecycleExecutor.onFirstInstall(),onVersionChanged(), andonError() - Two usage patterns: register callbacks then init, or pass callbacks directly to init
- Type-safe semantic version comparisons in version change callbacks
- Automatic execution tracking using SharedPreferences
- Ensures callbacks execute only once per lifecycle event
- Built-in error handling support
- Helper methods for version checking and state management
- Full test coverage