I have an app that do recursive calls to a API after every min or so it is working fine while app is active but not working when it is in background.
I tested the same app on android and even in the background it work fine, but on iOS it stop calling the API.
Am I missing something or what should I do to resolve it?
Any quick help please?
As of January 2017, you have a few options, but none are native for iOS right now—it's something they're working on. For Android (although it seems you have this solved) you can use Headless.js.
For iOS you have a few options, depending on your task: