title: Observable is not working when app is running in background in ionic?
body: <p>When I do Login I am starting to check observable working but when application is in background it is not executing. I am using observable because after every 5 seconds refresh should happen. It seems it is not running in background. Any other solution to run the code after every 1 minute whether application is in background or foreground. Thanks in advance !
  Loginsuccessfully
      this.provider.startBackgroundRefreshInterval();
  In service class below code added</p>
  
  <pre><code>startBackgroundRefreshInterval() {
      var refreshInterval = localStore.getPersistedData(App.ISCHECKBOX_KEY);
      this.timerSubscription = Observable.interval(parseInt(refreshInterval))
          .subscribe((val) =&gt; {
              console.log("Observable subscribed");
          });
  }
   /**
   * unsubscribe subscription
   */
  unSubscribeOnehourSubscription() {
      console.log("Observable Unsubscribed");
      this.timerOneHourSubscription.unsubscribe();
  }
  </code></pre>
  
  <p>Now refreshInterval is based on checkbox value selection</p>
  
  <pre><code> updateCheckboxList(value:any) {
      this.service.unSubscribeSubscription();
      this.service.startBackgroundRefreshInterval();
    }
  </code></pre>
  
  <p>Once application will go in background Observable not calling 
  currently refreshInterval selected as 1 minute</p>
  
  <p>what is other way to call functon continuosly in background in ionic ?</p>