What is this App doing, how is it working?
Hello,
I'm using Syncthing and found your app on f-droid for sync of calender entries and contacts. There is no description about the workflow of the app, what is happening there? A folder is created, with subdirectories info, new-entries and stored entries. One of the files only contains: "["2019-03-01T10:13:16","name","AdreddCollention1"]
I don't see any contacts or calender entries. Do I have to do something to get it work?
Do I have to create contacts and calender entries in the App? There is just a way to create a list nothing else.
You can create contacts and calendar events using normal Android apps. For example, when you create a contact in the default contacts application, you can select a DecSync collection to store it. (You can also import contacts from a .vcf file.) Then, if you sync the DecSync directory with another device, the contacts will be synced as well, if a suitable app is installed on that device as well.
@lrj0 1 Create a contact collection in the decsync app and leave it checked. 2 Then in your contacts app change the default location to that collection. 3 Use syncthing or another way to sync the DecSync directory which will now contain your contacts, calendars etc
And how one should configure DecSyncCC, Evolution-DecSync and Syncthing to properly synchronise contacts between Android phone and a computer?
I've configured DecSyncCC on my phone and I synced its DecSync folder with my computer via Syncthing. Evolution-DecSync is installed & configured on my computer.
Unfortunately, when I add a new contact on my mobile to DecSyncCC then it doesn't appear in Evolution and after while it's deleted from my phone. It looks like Evolution-DecSync overwrites changes made by my phone.
For testing purposes:
- I've enabled
watch for changesinSyncthingon my phone - set
Syncthingrescan intervalon my computer to 1 minute - configured
Evolution-DecSyncto refresh the contact list every 1 minute
Interestingly enough, when I add a new contact to Evolution and files sync, when I check Entries count for my contact collection in DecSyncCC, then it will show:
Android entries: 0
Processed entries: 0
DeSync entires: 1
When I disable and enable that collection in DecSyncCC then values change to:
Android entries: 1
Processed entries: 1
DeSync entires: 1
and the new contact appears in the Contacts app on my phone.
Thanks for the detailed report. It looks like you have configured everything correctly, as the changes from Evolution are sent to Android.
To further investigate, could you do the following:
- Add a new contact to Evolution and sync the files (so you get the 0, 0, 1 counts). Then, on your Android device, go to Settings → Accounts → Your DecSync Contacts account and then refresh. Does the syncing work now? The Android client uses the built-in Android accounts to synchronize between the Android contacts and the DecSync ones.
- Add a new contact to Android, sync the files and refresh in Evolution. Then, check the files in the
new-entries/appId/resourcesdirectory (for allappIds). What is in there for the Android client, and what for Evolution? I would create a new collection for this, then there will be just a single contact. It is very strange that the contact gets removed, that definitely shouldn't happen.