Our mission is to provide the most robust, efficient, and secure background execution engine for Flutter.
- v1.2.6 Industrial Reliability & FGS Bypass:
- Foreground Service (FGS) Support (Android): Bypass Android 12+ background restrictions for heavy tasks with prioritized notifications.
- Locked Device Support (Android): Optimized task execution during Doze mode via Expedited Work mapping.
- Swift Concurrency Stability (iOS): Eliminated database deadlocks by migrating to serial dispatch queues.
- iOS Scheduling Reliability: Tuned internal delays to ensure consistent
BGTaskSchedulerenqueuing. - Platform-Aware Test Suite: Comprehensive integration tests with automatic simulator detection and isolation.
- v1.2.3 Critical Core Stability:
...
- Bypassed Android's 10KB WorkManager payload limit via automated secure file spilling (
wm_spill_*.json). - Fixed iOS URLSession background file loss with synchronous blocking moves.
- Eliminated iOS
BGTaskSchedulerstarvation and race conditions viaTaskCompletionGuard. - Full I/O interruption support:
worker.stop()now drops mid-flight network connections on cancel. - Added
initialDelayandrunImmediatelysupport for Periodic Tasks. - Advanced Security: Strict validation against Null Byte Injection, Path Traversal (
..), and Shell Injection.
- Bypassed Android's 10KB WorkManager payload limit via automated secure file spilling (
- Android Cold-Start Persistence:
DartWorkerexecution reliably survives app kills and restores automatically. - Advanced Remote Trigger (FCM/APNs): Enqueue complete Task Chains and Offline Queues via silent push without waking the Flutter Engine.
- HMAC Security: Robust HMAC SHA-256 signature verification for remote triggers.
- Real-Time Observability & Middleware: DevTools extension real-time visualizer and global interceptors.
- Code Generation (
native_workmanager_gen): Generate type-safe enqueue wrappers via@WorkerCallbackannotations. - Selective Plugin Registration: Explicit opt-in flag
registerPluginsto control background engine memory footprint.
To drive mass adoption and reach 100k+ downloads, v1.3.0 focuses entirely on lowering the barrier to entry.
Today, DartWorker requires manual Kotlin/XML steps to survive app kill. In v1.3.0, the plugin will ship its own androidx.startup Initializer that runs before Application.onCreate().
- Impact: Eliminates the need for a custom
Applicationclass,AndroidManifest.xmlmodifications, and manual WorkManager initializer removal. - Opt-out: Apps with custom WorkManager configs can disable auto-init via a single
<meta-data>flag.
- Evolves
setup_iosinto a universal command. - Android: Automatically patches
AndroidManifest.xml(for advanced opt-out/custom setups). - iOS: Automatically parses and injects
BGTaskSchedulerPermittedIdentifiersintoInfo.plistand injects Objective-C+loadmethod orAppDelegatecode for background registration. - Impact: "1-Click Setup" for both platforms. No Native knowledge required.
To capture mindshare from legacy libraries, we must provide "Plug & Play" solutions.
- Cross-Integrations (Adapters):
NativeDioAdapter: Use Dio configurations but execute via the Zero-EngineHttpDownloadWorker.FirebaseStorage Native: Upload directly via Native SDK without booting Flutter.Hive/Isar Sync: Auto-sync local DB to server via native workers.
- "Plug & Play" Templates Repository:
- Provide ready-to-use Dart templates for common use cases: Auto Photo Backup to S3, Offline Chat Queue, Netflix-style Large Video Download.
- Native Offline Queue Engine: Built-in declarative pattern for queuing tasks while offline with automatic file/database-backed retry.
- SwiftUI
@mainApp Support: CLI tool detects SwiftUI apps and generatesAppDelegateadoption shims.
- Cloud Coordination: Synchronize task status and dependency resolution across multiple devices.
- Enterprise Rate Limiting: Advanced bandwidth and concurrency control for multi-tenant apps.
- Desktop Support: Expanding the native worker engine to Windows, macOS, and Linux.
| Metric | 3 Months | 6 Months | 12 Months |
|---|---|---|---|
| pub.dev Likes | 100+ | 500+ | 2,000+ |
| GitHub Stars | 200+ | 1,000+ | 3,000+ |
| Weekly Downloads | 1k | 5k | 20k |
| Enterprise Users | 1 | 3+ | 10+ |
| pub.dev Score | 160 | 160 | 160 |
(Note: pub.dev score target increased to 160/160 following the v1.2.3 release).