{"repo":"fluttercommunity/flutter_workmanager","free":true,"listed":false,"github":"https://github.com/fluttercommunity/flutter_workmanager","clone":"git clone https://github.com/fluttercommunity/flutter_workmanager.git","description":"A Flutter plugin which allows you to execute code in the background on Android and iOS.","language":"Dart","stars":1025,"topics":["flutter","workmanager","android","jobscheduler","alarmmanager","background","background-jobs","headless","dart","background-fetch"],"license":null,"category":"mobile-apps","readme_excerpt":"Flutter Workmanager Execute Dart code in the background, even when your app is closed (Android and iOS). On macOS, background tasks run while the app is running or backgrounded and the Mac is awake. Perfect for data sync, file uploads, and periodic maintenance tasks. ⚠️ Experimental web support now exists via workmanager web (Service Worker + Web Worker based background execution). See the Web (experimental) page and the package README for honest limitations and how to test it in Chrome. 📖 Documentation Get started with background tasks in Flutter: → Quick Start Guide - Installation and setup → API Documentation - Complete Dart API reference → Debugging Guide - Troubleshooting help → Troubleshooting Guide - Why tasks stop after app close (OEM battery optimization, constraints, verification) 🎯 Use Cases Background tasks are perfect for: - Sync data from API - Keep your app's data fresh - Upload files in background - Reliable file uploads - Clean up old data - Remove old files and cache - Fetch notifications - Check for new messages - Database maintenance - Optimize and clean databases ⏱ Long-Running Tasks (Android) For work that takes longer than the regular background execution window (bulk uploads/downloads, ML processing), Android tasks can run as a foreground service with a persistent notification. Pass a foregroundServiceConfig to registerOneOffTask or registerPeriodicTask : See the Quick Start guide for details and platform caveats. 🛑 Cancelling Running Work (Android)","default_branch":null,"files":null,"tree":[],"storefront":"/r/fluttercommunity","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fluttercommunity/flutter_workmanager/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}