How to run service app in background always

How to run service app in background always

BY 20 Jan 2017 Native Application Development

I had one hybrid app for which there is one web ui app, and native service app. I needed to run service app all the time irresepective of ui app is running or not. It was working fine on 2.3. But isn’t allowing service app to run if ui app is not in foreground, how to make my service app run always on 2.4?

Written by