Skip to main content

app_lifecycle_executor 0.1.0 copy "app_lifecycle_executor: ^0.1.0" to clipboard
app_lifecycle_executor: ^0.1.0 copied to clipboard

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

0.1.0 #

  • Allow package_info_plus 10.x (>=9.0.0 <11.0.0). Apps on recent Flutter that already depend on package_info_plus 10 no longer hit a version conflict; apps on older Flutter keep resolving 9.x.
  • No API changes. The version moves to 0.1.0 so that ^0.1.0 constraints pick up future patch releases automatically (a ^0.0.x constraint pins one exact version).

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
150
points
256
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

Homepage

License

MIT (license)

Dependencies

flutter, package_info_plus, shared_preferences, version

More

Packages that depend on app_lifecycle_executor