Xamarin - IOS: sending a web request every N minutes even when the phone is locked or sleeping

136 Views Asked by At

i have been looking unsuccessfully on trying to effectively schedule a task on IOS which needs to run every N minutes. Typically in Android, you can achieve this my using the AlarmManager and the setAlarmClock method which will be called even if the phone is dozing/sleeping and it works like a charm. In IOS i have found something close but the problem is that you cannot execute the code you want. Basically you can play alarm sound. I need to have the possibility to send a webrequest to a central server every N minutes even if the IPhone is sleeping.

Is it possible?

Thank you for your time

0

There are 0 best solutions below