startSync

suspend fun startSync()

Initialize the attachment queue by:

  1. Creating the attachments directory.

  2. Adding watches for uploads, downloads, and deletes.

  3. Adding a trigger to run uploads, downloads, and deletes when the device is online after being offline.