workmanager_android 0.10.5
workmanager_android: ^0.10.5 copied to clipboard
Android implementation of the workmanager plugin.
0.10.5 #
- FIX(android): build with AGP 9 and android.builtInKotlin=false (#722).
0.10.4 #
- FEAT(android): progress updates for long-running tasks (#720).
0.10.3 #
- FEAT: work status observation — getWorkInfo across platforms (fixes #194) (#719).
0.10.2 #
- FEAT(android): expedited work support (#715).
0.10.1 #
- FEAT(android): add ContentUriTrigger constraints (fixes #413) (#709).
0.10.0+2 #
- FIX(android): AGP 9 built-in Kotlin compilerOptions (#711).
0.10.0+1 #
- FIX(android): notify running callbacks when work is cancelled (fixes #432) (#705).
0.10.0 #
Note: This release has breaking changes.
- BREAKING FEAT: align minimum Flutter version to 3.38 across packages (prep for 0.10.0) (#701).
0.9.3 #
- FEAT(ios): add BGContinuedProcessingTask support (fixes #638) (#700).
- FEAT(android): long-running workers via foreground service (#698).
0.9.2 #
- FEAT(ios): add BGHealthResearchTaskRequest support (fixes #532) (#693).
0.9.1+1 #
- FIX(android): honor initialDelay for periodic tasks without a flex window (#691).
0.9.1 #
- FEAT: support typed Lists/Maps in inputData (fixes #426) (#690).
0.9.0+3 #
- FIX: remove kotlin-android since AGP 9 supports it https://github.com/fluttercommunity/flutter_workmanager/issues/667 (#682).
- FIX: Failed host lookup, by bumping androidx.work:work-runtime to 2.11.2 and Android minSdkVersion to 23 (#679).
- FIX: NullPointerException by replacing companion FlutterLoader with FlutterInjector singleton (#678).
0.9.0+2 #
- FIX: Android initialization bug and iOS 14 availability annotations (#647).
0.9.0+1 #
- FIX: prevent NullPointerException in BackgroundWorker.getDartTask (#636).
0.9.0 #
Note: This release has breaking changes.
- REFACTOR: replace debug mode with extensible hook-based system (#630).
- REFACTOR: Migrate internal interfaces to pigeon (#613).
- FIX: resolve critical null handling crashes from contributor reports (#626).
- FEAT: Migrate to federated plugin architecture (#611).
- BREAKING FIX: resolve issue #622 - periodic tasks running at incorrect frequencies (#628).
0.8.0 #
Initial Release #
- BREAKING: Migrate to federated plugin architecture
- Initial release of the Android implementation
- Implement all
WorkmanagerPlatformmethods for Android - Support for one-off and periodic tasks using WorkManager API
- Migrate from
be.tramckrijtetodev.fluttercommunitynamespace
Breaking Changes #
- BREAKING: Enum values changed from snake_case to camelCase:
NetworkTypevalues:not_required→notRequired,not_roaming→notRoaming,metered→metered(unchanged)OutOfQuotaPolicyvalues:run_as_non_expedited_work_request→runAsNonExpeditedWorkRequest,drop_work_request→dropWorkRequest
- BREAKING: Removed JSON serialization for inputData - now uses native Map transfer
New Features #
- Add
isScheduledByUniqueNamemethod to check if a periodic task is scheduled by its unique name - Support for constraints: network type, battery not low, charging, device idle, storage not low
- Support for backoff policies: linear and exponential
- Added comprehensive integration tests
Bug Fixes #
- Fixed NullPointerException when
isInDebugModewas not properly initialized - Fixed inputData type handling - now properly supports all primitive types and lists
- Fixed v2 embedding import in BackgroundWorker
Improvements #
- Updated to Android target SDK 35
- Updated Android dependencies to latest versions
- Improved CI/CD with Android emulator caching
- Better error handling and type safety
- Fix documentation formatting and typo in BackgroundWorker