Skip to content

v1.2.4

Choose a tag to compare

@vietnguyentuan2019 vietnguyentuan2019 released this 02 May 04:18
· 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 Application class setup is required for all tasks to survive app kill.
  • iOS: Synchronized background task identifiers between setup_ios.dart and Swift code.
  • iOS: getTaskStatus() now correctly returns TaskStatus.completed for finished tasks. Previously, the iOS plugin wrote "success" to SQLite but Dart's TaskStatus enum has no success case, so every call returned null.
  • Android: Removed duplicate taskStore.updateStatus() call on task completion. The redundant second write used JSONObject(map).toString() which could corrupt nested result maps.
  • iOS: FlutterEngineManager now disposes the engine after a Dart callback timeout. Previously the engine remained stuck in isInitialized = true, causing all subsequent DartCallbackWorker tasks to silently fail.

Changed

  • Engine: Upgraded core kmpworkmanager to 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.4

Full Changelog: v1.2.3...v1.2.4