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

A Flutter package for executing lifecycle callbacks on iOS and Android.

0.0.1 #

  • Initial release
  • Execute callbacks on first app installation
  • Execute callbacks on app version upgrades with Version objects (using version package)
  • API: Renamed migrationCallback to onVersionChanged for clarity
  • NEW: AppLifecycleExecutor.onFirstInstall() - Register first install callback
  • NEW: AppLifecycleExecutor.onVersionChanged() - Register version change callback
  • NEW: AppLifecycleExecutor.onError() - Register error handler
  • Two usage patterns: register callbacks then init, or pass callbacks 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
0
points
66
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for executing lifecycle callbacks on iOS and Android.

Homepage

License

unknown (license)

Dependencies

flutter, package_info_plus, shared_preferences, version

More

Packages that depend on app_lifecycle_executor