App demo that uses WorkManager API to download and schedule PDFs in the background
You can either download custom pdf files by placing your preferable pdf file url in the text field or download predefined url by clicking on test.
You can inspect your downloaded files from the menu item in the home screen .
- Downloading requires internet connection, if any download request happens when offline, then WorkManager will schedule them to run when any connection is found even when the app is dead.
- By cancelling the download from the notification label; you first cancel the background work, and it require you again to cancel the notification by clicking again.