How To Make Background Service In Ionic

i want to build an app that have background service. When the app is closed that can run in background.
i tried cordova plugin but it doesn’t work when app is closed, i also tried through event handling pause and resume this also give same result.
please help regarding this issue.

I have the same problem here :c

Any input on this for ionic 2 would be appreciated.

Hi, I am using ionic Framework v1.When i slide left my image list count 0,if right side slide count 1 .how to use this this in background service? Example of Tinder app slider(left=nope,right=Like).If possible to create background Service in ionic1 and how to implement that?