DEV Community

Discussion on: Android continuous background services with NativeScript

Collapse
 
earnestware profile image
earnestware

Makes a lot of sense! I’m less familiar with android than I am ios. If you wanted to have a service like this only run while the app is in the background (ok to stop when app killed), what do I focus on to make this happen? Thanks!!

Collapse
 
ozymandiasthegreat profile image
Tomas Ravinskas

Just skip the whole "Making it continuous" section. Services behave like that by default.