Closed AndrewHartAR closed 11 years ago
I'm not sure I understand your question. The first device to sync needs to upload the whole store so that other sync clients have a starting point from which to begin applying changes.
Sent from my iPhone
On Sep 14, 2012, at 5:31 PM, ProjectDent notifications@github.com wrote:
The first device to sync has to upload first, but the uploaded store is never used, because downloading it would write over all device data. This renders the upload pointless, since it's just syncing based off syncing data.
Can i skip the upload process?
— Reply to this email directly or view it on GitHub.
The demo apps all upload the whole store after succesful registration. So there is more than one whole store after a while. So the question would be: can I disable uploading the whole store for all devices but the first?
There's no official support for this in the framework, but what you could do is ask the application sync manager for a list of previously registered documents:
- (void)requestListOfPreviouslySynchronizedDocuments;
And, if that comes back with anything assume that another client has already performed an upload of the whole store.
The first device to sync has to upload first, but the uploaded store is never used, because downloading it would write over all device data. This renders the upload pointless, since it's just syncing based off syncing data.
Can i skip the upload process?