I am developing an app in iOS. My requirement is as follows:
I want to upload images and also download images. Also I want the ability to store the database structure in dropbox. So that if my app gets deleted and when I re-install the app only I have to link that with my dropbox account. Then I will get all the data in my app and there will be no data loss.
I have searched various APIs provided by Dropbox. I have also implemented Sync API of dropbox but that doesn't suffice my purpose.
When my app get deleted it does not download the stored data in my app.
So I want to know for my requirement which API I have to use?
Both the Sync API and the Core API offer the ability to upload and download files to and from Dropbox, so either should work in this case. Can you elaborate on any specific issues you're experiencing?
Regarding your "database structure", this is probably also possible, depending on what exactly you mean and what you want to do. For example, you can store structured data using the Datastore API. The Datastore SDK and the Sync SDK for iOS are actually one and the same, so you can use both files and datastores functionality in the same app with that SDK.
Alternatively, if you're using a local database like SQLite, you could backup the database as a file.
Re: File upload/download and database storage in Dropbox
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?