workmanager
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
More from andvl1/claude-plugin
kmp
Kotlin Multiplatform fundamentals - use for project setup, expect/actual patterns, source sets, and platform-specific code
43decompose
Decompose navigation and components - use for KMP component architecture, navigation, lifecycle, and state management
18koog
JetBrains Koog AI Agent framework (Kotlin) - use for building AI agents with tool calling, LLM integration via OpenRouter/OpenAI/Anthropic/Google/DeepSeek, streaming, GOAP planning, MCP integration, and AI-powered workflows. Use when implementing AI agents, LLM calls, tool-calling patterns, or integrating LLM providers in Kotlin projects.
11compose
Compose Multiplatform UI patterns - use for shared UI components, theming, resources, and platform-specific adaptations
10compose-arch
Compose Multiplatform Architecture Framework - strict Screen/View/Component layering, use cases, repositories, and feature slice patterns
8opentelemetry
OpenTelemetry observability - use for distributed tracing, metrics, instrumentation, Sentry integration, and monitoring
7