now , i am creating a android app use nativescript, i want to do a function like schedule work in the background service , dont affect main UI thread . are there any solution can help me ? thank
You can use workers
Except workers do not run in background, background services can be active even when your app is not running.