v1.2.4
·
197 commits
to main
since this release
What's Changed
Fixed
- Android: Added automatic ProGuard rules to prevent task classes from being stripped in Release builds (#24).
- Android: Clarified that
Applicationclass setup is required for all tasks to survive app kill. - iOS: Synchronized background task identifiers between
setup_ios.dartand Swift code. - iOS:
getTaskStatus()now correctly returnsTaskStatus.completedfor finished tasks. Previously, the iOS plugin wrote"success"to SQLite but Dart'sTaskStatusenum has nosuccesscase, so every call returnednull. - Android: Removed duplicate
taskStore.updateStatus()call on task completion. The redundant second write usedJSONObject(map).toString()which could corrupt nested result maps. - iOS:
FlutterEngineManagernow disposes the engine after a Dart callback timeout. Previously the engine remained stuck inisInitialized = true, causing all subsequentDartCallbackWorkertasks to silently fail.
Changed
- Engine: Upgraded core
kmpworkmanagerto v2.4.3 on both Android (Maven) and iOS (xcframework).
Tests
- Unit test suite expanded from 898 to 1799 tests.
Upgrading
dependencies:
native_workmanager: ^1.2.4Full Changelog: v1.2.3...v1.2.4