Hello,
The code below works on Android. However, on iOS the timer does not get triggered.
Anyone aware of any iOS gotchas in this case?
Thanks!
private void ScheduleSynchronizeData()
{
Device.StartTimer(TimeSpan.FromMinutes(ApplicationSettings.DataSynchronizerTimespanMinutes), () =>
{
System.Threading.Tasks.Task recurringTask = new System.Threading.Tasks.Task(() =>
{
SynchronizeData();
ScheduleSynchronizeData();
});
recurringTask.Start();
return false;
});
}