Hi Johan,
there are indeed issues like this in recent Android version. Most notably Samsung and Huawei are very restrictive in this regard. For instance, it seems that (some?) Samsung devices completely disable background operations of an app which hasn't been opened once in three days. For a background sync app that's a big issue, because it's not meant to be opened every three days. I haven't noticed this on Android One devices though.
On some devices you can put apps onto the "do not optimize" white list (that's on Samsung devices, in the battery menu). We've received reports that this solves the issue.
We've also developed a workaround which appears to fix this. I'll publish a release once I've managed to fix the new account setup.
Cheers,
Marten
Am 13.05.19 um 16:18 schrieb Johan Vromans:
Hi,
For a long time I've been a happy user of DAViCal and clients. But I get the feeling that over the years things are getting worse.
The problem? Appointments on my Android devices are not updated, or do not propagate.
I am inclined to blame Android. Modern Android devices are so energy hungry that they try to survive by putting draconian limits to honest Android apps.
In my setup, there is a DAViCal server that shares the data. On Android, there's CalDAVsync that syncs DAViCal with the local calendar. The end user tool is Business Calendar that operates on the local calendar. This is a common type of setup used by most calendar apps and cloud calendars.
In earlier days these apps were all happily living (and running) in Android, but nowadays they are put to sleep, stopped, thrown out, when the system sees fit. As a result, appointments are no longer updated and propagated.
OTOH, Android is flexible so I assume there are settings to avoid this. So my question is: what permissions or other settings do I need to give the apps?
Thanks in advance,
Johan