Skip to content

Commit 488421e

Browse files
authored
Sync adapter (#37)
1 parent 7cd28be commit 488421e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

accounts_collections.rst

+13
Original file line numberDiff line numberDiff line change
@@ -203,3 +203,16 @@ the URL to an installed Webcal-capable app like `ICSx⁵ <https://icsx5.bitfire.
203203

204204
If you're using ICSx⁵, DAVx⁵ can determine whether a Webcal collection is currently subscribed and can also remove the subscription again.
205205

206+
207+
Android integration as a sync adapter
208+
=====================================
209+
210+
DAVx⁵ is integrated with Android as a `sync adapter <https://developer.android.com/training/sync-adapters/creating-sync-adapter>` for contacts,
211+
events and tasks. The integration covers two cases:
212+
213+
1. DAVx⁵ gets notified by the system when a contact, event or task is locally modified and runs synchronization then.
214+
2. DAVx⁵ gets notified by the system when a contact, event or task app requests synchronization (usually over "Refresh") and runs synchronization then.
215+
216+
You can see the status of the sync adapter integration in Android settings / Accounts / DAVx⁵. Note there may be a lot of wrong-looking entries without title. These are a mistake of the Settings view when it tries to associated the supported sync types of the various tasks apps and can be ignored.
217+
218+
Unlike in early DAVx⁵ versions, the regular synchronization with the user-specified interval is *not* using the sync adapter anymore, but the more reliable WorkManager. **This means that the regular synchronization will not show up in Android settings / Accounts / DAVx⁵, so the sync times there are not correct.** You can view the latest sync times in DAVx5 instead (tap on the respective collection to view details).

0 commit comments

Comments
 (0)