Play app in background

To perform operation even after the app-is-closed, you must use Foreground Service. Currently you can use Tasks extension.
Foreground Service help you to run the tasks even the user is not interacting with the app.
This might help you :

4 Likes