app_lifecycle_executor 0.0.3 copy "app_lifecycle_executor: ^0.0.3" to clipboard
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.0
    • shared_preferences: ^2.3.3 → ^2.5.3
    • flutter_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 Version objects (using version package)
  • Register callbacks via AppLifecycleExecutor.onFirstInstall(), onVersionChanged(), and onError()
  • 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
2
likes
160
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for executing lifecycle callbacks on app install and version upgrades across all platforms.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, package_info_plus, shared_preferences, version

More

Packages that depend on app_lifecycle_executor