I have found examples of projects using EITHER the Sync API or Datastore API - but not an example using BOTH at the same time.
The reason I ask is that I had trouble trying to use both at the same time. My code all looked correct as per the tutorials, the files were syncing, local datastores were being created just fine, but as soon as I tried to sync a datastore everything started crashing.
I have thrown away the code unfortunately, but am keen to look into this again. At this stage I thought I would just ask if anybody had example code they could share ... or at the very least confirm that this should work just fine?
Matthew