Skip to content

restart_app 1.8.0

Choose a tag to compare

@gabrimatic gabrimatic released this 02 May 08:55
· 17 commits to master since this release

Changes

  • Added structured restart API with Restart.restart(), RestartResult, RestartMode, and Restart.restartCapability().
  • Added opt-in iOS Flutter engine restart with fresh FlutterEngine creation, Dart re-run, host-owned plugin registration, root FlutterViewController replacement, and old engine teardown.
  • Kept the existing iOS notification + exit(0) behavior as an explicit legacy fallback.
  • Added restart capability reporting across supported platforms.
  • Updated documentation and example integration to distinguish iOS engine restart from unsupported full process restart.

Verification

  • flutter analyze
  • flutter test
  • cd example && flutter test
  • dart pub publish --dry-run
  • iOS no-codesign build
  • web build
  • Swift/Kotlin/C++ format and lint checks

Note: Android APK build is blocked locally by the existing Gradle 7.6.3 and Java 21 mismatch on this machine.