title: Running background Task infinitely without any background mode
body: <p>I have an app that keeps collecting the device's sensor data and stores it in sqlite database. All this keeps happening continuously according to the timers that I set which are as follows:</p>
  
  <p>-Every 1 second app collects sensor data</p>
  
  <p>-Every 30 minutes the app sends collected data to aws iot</p>
  
  <p>-Every 60 minutes an api is called to refresh the above timer values</p>
  
  <p>Now, the requirement is that all this should keep on going even if the app has entered background state or if the phone goes to sleep(screen off and locked). I searched around and found the background task can help with this. So, I implemented a simple background task that starts when app enters background state. Now all this functionality works even when phone is locked or app is in background. I have not enabled any background mode capabilities in my project.</p>
  
  <p>After reading a lot I think that this type of behaviour is rejected by Apple. In my case, would that be the problem? Will apple reject my app because my background task keeps running infinitely without any background mode enabled?</p>
  
  <p>Need some clarification on this. Thanks alot.</p>