windows-universal
windows-universal copied to clipboard
Background Sync Enhancements
I have a partially working background task version of the file sync: https://github.com/TheScientist/windows-universal/tree/%2310_background I'll track the todos here.
Version 1.2.0:
- [ ] SyncTask gets cancelled regularely with errorCode 0x80010008
- [ ] Refactoring of duplicate ClientService
- [ ] EventListener for better PushNotifications (notification per file)
- [ ] KeepAsIs ConflictSolution
- [ ] Handle Progress and Cancel in Background Task
- [ ] Settings for timetrigger + notifications
- [ ] Use built in sqlite (see #117)
Future versions
- [ ] Better Sync Algorithm (per Sync framework)to be able to delta sync
The background task will be outproc, right?
Yes, we need to move some of the classes into a class library, to make them usable by the bg task. The branch has a partially working version. Sync starts but gets canceled sometimes.
Looking at the code from the new owncloud client, I found 2 interesting things:
- they query a windows search index to look for locally changed files
- they compare local files by size to check for changes (we use modified time)
Oh, nice, a universal owncloud client. Thats a great finding for reference! Let's see if can adapt some things!