we are developing app in xamarin ios and we are using dropbox sync api component, As we know dropbox sync api will soon deprecated what alternative api/components api can we use to authenicate via dropbox app in ios.
Using the https://www.dropbox.com/developers/core is the recommended approach. There are existing iOS and .NET (third-party) libraries, and we will be building new ones for API v2 over the coming months. A preview of our Swift SDK just went out yesterday: https://blogs.dropbox.com/developers/2015/05/try-out-swiftydropbox-the-new-swift-sdk-for-dropbox-api-v2/.
Is it even possible to sync with the CoreAPI or is it really just a way of uploading and downloading files while the user waits? Or are you taking the SyncAPI and adding some of the features we had to the CoreAPI? I only just finished adding and deploying the Dropbox Sync API into my app when I found out about the discontinuation of it. 4 months work affected by that. Now I need to find an alternative solution.
"Is it even possible to sync with the CoreAPI or is it really just a way of uploading and downloading files while the user waits?"
I'm not entirely sure what you mean. Syncing generally means uploading and downloading files as well as getting notifications when files change. The Core API does all of these things (and is in fact the same API that the Sync SDKs use under the hood).
Ok I see. Then is there an example somewhere or guide that says "if you were doing this or that in the Sync API, you should be doing this instead with the Core API?"
Not really. As new SDKs for API v2 come along, we'll probably be writing some more blog posts about how to use them to do common syncing tasks (like listening for changes). For now, I'd wait and watch the blog as the new API v2 develops.
Well most of the blog posts that I've seen about the v2 API are geared towards REST calls. I'm working with iOS and don't care much for the REST API. But I'll keep an eye open for it.
So far, the only SDK we've released (in preview) for API v2 is actually one for iOS (written in Swift): https://blogs.dropbox.com/developers/2015/05/try-out-swiftydropbox-the-new-swift-sdk-for-dropbox-api-v2/.
In the past you are often wrote that "new SDKs will come along". So, after the launch of v2 API in November 2015 it seems nothing happened right now. There are still just 4 new SDKs. What about an ObjC SDK for v2? Swift is new and buggy and not every developer wants to use it. ObjC is still around (and will be) on a very large code base. I really, really miss the Sync API (as so many others already mentioned).
When we can use a new and modern ObjC-SDK?
Thanks for the feedback! I don't have any news to share regarding a new Objective C SDK for API v2 though.
The official Objective-C SDK for API v2 has been released here:
https://github.com/dropbox/dropbox-sdk-obj-c
I have a question what method to replace SyncAPI now?
Thanks,
Vang Doan
Hi Vang, if you're migrating an existing app, or starting a new app, we recommend using one of the official SDKs for API v2:
https://www.dropbox.com/developers/documentation
They don't offer quite the same functionality as the deprecated Sync API though, but they do offer more control over the API calls you can make. So, if you want to offer offline caching, for example, you'd need to implement that in your app's code.
HI William, there's a sample app here, in three versions, one for each supported installation method:
https://github.com/dropbox/dropbox-sdk-obj-c/tree/master/Examples/DBRoulette
Those are set up for use with package managers though, per the installation instructions.
We highly recommend using one of the supported package managers, as they make it much easier to install and keep libraries up to date. I believe it's possible to use the library without using a package manager at all, but we don't have documentation for that in particular. I'll send this along as a request for that.