Long-time Xamarin customers know that there is a history of delivering updates same day when the native platforms (iOS and Android, for example) are upgraded. Today there was another little surprise - the new Dropbox Datastore API that was announced at DBX yesterday was made available via a Xamarin Component today!
Check out the Xamarin Blog for all the details and a cute sample app called MonkeyBox.
But wait, there's more!
In the past I've posted about porting a small "To Do List" application to various different platforms, including Azure (iOS, Android, Mac and more) twice as well as an iCloud version for iOS.
Here's the same basic code using the new Dropbox Datastore API (just iOS, for now...):
Here's a direct link to the code on github... to use just download the solution (which includes the Xamarin Dropbox Component) and:
- Visit the Dropbox App Console to get your access credentials set-up.
- Add the
App secretto the
AppDelegate.csin the project.
- Add a Custom URL Type to the advanced
Info.plistsettings (replacing the identifier and also YOUR_APP_KEY with the correct credential value) like this
When the app is up-and-running, you can 'browse datastores' from the Dropbox App Console and see the data update on the server in real-time!
In only a few lines of code you can use a cloud-based data store simply and easily, across multiple platforms and devices! Load up the app on a couple of iOS devices (and/or the iOS Simulator) and watch the magic in action :)