title: Ionic 2 : Run a background service with cordova
body: <p>I use Ionic 2 and I want to my app do some task when the app is closed. Something like Gmail who continue to notify all the time.</p>
  
  <p>I found this : 
  <a href="https://ionicframework.com/docs/v2/native/background-mode/" rel="noreferrer">https://ionicframework.com/docs/v2/native/background-mode/</a></p>
  
  <p>But I want to create a specific service with specifics method who run in background. This plugin all the application run in background. </p>
  
  <p>Someone can explain me how to do that ?</p>