terminate_restart 1.0.0 copy "terminate_restart: ^1.0.0" to clipboard
terminate_restart: ^1.0.0 copied to clipboard

A robust Flutter plugin for terminating and restarting your app with extensive customization options. Supports both Android and iOS with features like data clearing and state preservation.

0.0.1 #

Initial release with the following features:

  • Complete app termination and restart functionality
  • Platform-specific implementations for Android and iOS
  • Extensive customization options
  • Perfect integration with Shorebird and other dynamic update systems
  • App data management options
  • Fast and reliable operation
  • Comprehensive documentation and examples

Features #

  • Proper process termination and restart on both platforms
  • Customizable confirmation dialogs
  • Timeout handling with fallback messages
  • Data clearing options with granular control
  • Platform-specific flags and options
  • Comprehensive error handling and reporting
  • Type-safe API with proper null safety

Android Features #

  • Process.killProcess() for proper termination
  • Configurable Intent flags
  • Activity lifecycle management
  • App data clearing options
  • Proper error handling and logging

iOS Features #

  • Clean process termination
  • Configurable exit codes
  • UserDefaults preservation options
  • Keychain management
  • Cache and temp file clearing

1.0.0 #

  • Initial release with the following features:
    • Support for both Android and iOS platforms
    • Two restart modes: UI-only and full process termination
    • Optional data clearing during restart
    • Configurable data preservation options (keychain, user defaults)
    • Confirmation dialog support with customizable messages
    • Comprehensive example app demonstrating all features
    • Fixed data clearing functionality in both UI and terminate modes
    • Added extensive error handling and logging
    • Added type-safe API with null safety support

Features #

  • Full app restart functionality
  • UI-only refresh option
  • Data clearing with selective preservation
  • Extensive customization options
  • Cross-platform support (Android & iOS)
  • Comprehensive logging
  • Type-safe implementation

Android Implementation #

  • Proper process termination
  • Activity/task management
  • Intent flag handling
  • State preservation options

iOS Implementation #

  • Clean process termination
  • State restoration
  • Data management
  • Background task handling

Documentation #

  • Comprehensive README
  • API documentation
  • Usage examples
  • Common issues & solutions
22
likes
0
points
309
downloads

Publisher

unverified uploader

Weekly Downloads

A robust Flutter plugin for terminating and restarting your app with extensive customization options. Supports both Android and iOS with features like data clearing and state preservation.

Repository (GitHub)
View/report issues

Topics

#restart #terminate #process-management #app-lifecycle #data-clearing

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on terminate_restart