WorkManager Dependencies
The main artifact that you will use for adding WorkManager to your project is android.arch.work:work-runtime. This contains WorkManager and its related classes.
There are three additional artifacts that you can elect to use:
-
work-runtime-ktxprovides a Kotlin-specificWorkManagerAPI -
work-testingis available for testing your code that usesWorkManager -
work-firebaseis if yourminSdkVersionis below 23 and you wish to use Firebase JobDispatcher as the engine forWorkManager, as opposedAlarmManager, on older devices
Prev Table of Contents Next
This book is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.