restart_app 1.8.1
Patch release focused on restart mode correctness and release stability.
- Fixes structured restart mode handling so unsupported modes fail instead of silently using a platform default.
- Returns resolved structured restart modes from Android, web, Linux, macOS, and Windows.
- Makes Android
RestartMode.processuse the full force-kill restart path automatically. - Runs the iOS
beforeRestarthook before creating the replacementFlutterEngine. - Updates the bundled example Android Gradle project for current Java and Flutter toolchains.
Validated with flutter analyze, package and example tests, Android/iOS/web example builds, a fresh-template macOS build, native format checks, and dart pub publish --dry-run with 0 warnings.