Hello,
I need to make API Call every 1 min when the app is in the background state for the first 5 min, then make 2 calls for the next 5 mins. And finally, make 1 call in the last 5 min. I used the timer to fire service call accordingly but my app is been suspended after just 10-15 secs. But if I do another task like fire local notification or print logs then it works as expected in IO13, the thread is not being suspended in this case. Not sure why would OS allow to run this thread for an indefinite time but suspend any API call task.
Can someone please explain if this is possible to achieve.