workmanager

Installation
SKILL.md

Android WorkManager

WorkManager is the recommended solution for persistent, guaranteed background work on Android.

When to Use WorkManager

Use WorkManager for:

  • Periodic background sync - Sync data with server every 15+ minutes
  • Deferred tasks - Upload files, compress images when device is ready
  • Guaranteed execution - Tasks that must run even if app is killed
  • Constraint-based work - Run only when WiFi connected, battery charging, etc.

Don't use WorkManager for:

  • Immediate execution - Use Kotlin coroutines directly
  • Precise timing - Use AlarmManager for exact scheduling
  • Foreground work - Use coroutines in ViewModel/Service

Dependencies

Related skills
Installs
17
GitHub Stars
2
First Seen
Feb 24, 2026