I could neither reproduce with Android 4.4 (Samsung Galaxy Note 10.1) nor with Android 6.0 (CM 13.0-20161228), using Radicale and your VCard (tried with CRLF and only LF line breaks).
So I guess that’s something firmware specific…
I have installed DAVx via F-Droid. Over a span of about a year, each update resets the synchronization settings to “Only manual” for contacs, calendars and tasks on every account.
Going into the settings and choosing a periodic sync reenables automatic synchronisation and DAVx continues to work as expected.
Last noticed when updating end of last week to version 3.3.6.
Not sure which details to provide. Running Lineage 15.1.
The sync intervals are managed by Android.
Are you sure that this happens when updating? And not for instance when rebooting (or rebooting into safe mode)?
It indeed happens when rebooting. Did not notice that at all.
So DAVx uses sync settings in the Android Settings, below “Users & accounts” option? In there sync is turned on for all items with no further option to specify the interval, as in the DAVx settings.
If this topic gets to much into the “Android support” realm, we can leave it hanging here, as it’s not DAVx related.
Edit: Welp, tried rebooting some more times and it worked this time. So seems the reboot is not the root issue.
Further info: No Google Play Services on the phone, am using microG. Although sync should be in Android directly afaik.
@dremerb I don’t have Google apps on my phone, too. The only reproducible way to reset the sync intervals is when I reboot into safe mode…
@rfc2822 That came really close! Never have used safe reboot, but a hard shutdown (press the power button, until it dies) resets the intervals, too.
After the next OS crash, I could check, if this is a cause, too.
I understood correctly that there is nothing to be done against the resets of the intervals, as this is an Android thing?
@dremerb Yes. Maybe we could introduce some workaround (when DAVx5 is started, check whether the sync intervals are still what they should be and otherwise set them again), but at the moment there is no such feature.
@rfc2822 I see a new commit regarding this issue :3
Will try to find some time over the weekend to test the fix