We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Matthew D.17
11 years agoNew member | Level 2
Are there any examples of the Sync API and Datastore API being used in the same project?
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
1 Reply
Replies have been turned off for this discussion
- Greg-DB11 years ago
Dropbox Community Moderator
The Sync SDK and the Datastore SDK are actually the same SDK. They're literally the same downloads, but the functionality is documented separately since the use cases are often different. But yes, you can use both datastores and file (Sync) functionality in the same app. If you run into any issues, post the details and we'll be happy to help.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!