Skip to content
VandelayDropbox adds Dropbox code support to Vandelay.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assets
Fastlane
VandelayDropbox.xcodeproj
VandelayDropbox
VandelayDropboxExample/Accounts
VandelayDropboxTests
.gitignore
.swift-version
.swiftlint.yml
.travis.yml
Cartfile
Cartfile.private
Cartfile.resolved
LICENSE
README.md
RELEASE_NOTES.md
VandelayDropbox.podspec

README.md

Vandelay logo

Version Build Status CocoaPods Carthage Platform Swift 4.2 License Twitter: @danielsaidi

About

VandelayDropbox adds Dropbox functionality to Vandelay. It lets your apps use Vandelay to sync data to a user's personal Dropbox.

Installation

Cocoapods

The latest SwiftyDropbox release doesn't support iOS 4.2. This means that VandelayDropbox can not be properly linted and thus not pushed to the main trunk. However, you can point your Podfile to the main repo instead, pointing to the latest tag.

If you use CocoaPods, add this line to your Podfile and run pod install:

#pod "VandelayDropbox"
pod 'VandelayDropbox', :git => 'git@github.com:danielsaidi/VandelayDropbox.git', :tag => '0.7.3'

This also installs Vandelay, SwiftyDropbox and Alamofire, since they are required by VandelayDropbox.

Carthage

If you use Carthage, add this line to your Cartfile then run carthage update --platform iOS:

github "danielsaidi/VandelayDropbox"

This also fetches Vandelay, SwiftyDropbox and Alamofire and builds them, since they are required by VandelayDropbox. You must add them all to your app.

Exporting data

If you add VandelayDropbox, you get access to the following exporter:

  • DropboxExporter - exports strings & data to Dropbox

You must create a Dropbox app and follow the setup instructions in the docs before using this exporter. See info below.

Importing data

If you add VandelayDropbox, you get access to the following importer:

  • DropboxImporter - imports strings & data from Dropbox

You must create a Dropbox app and follow the setup instructions in the docs before using this importer. See info below.

Dropbox Support

To use Dropbox together with Vandelay in your iOS app, you must create a Dropbox developer account as well as a Dropbox app for the app. This guide explains how:

Check out how the Vandelay Demo App app gets Dropbox ready for use. Basically, the app must setup Dropbox integration then handle any return url that are triggered when Dropbox redirects the user back to the app. Also, your app must add a few keys to Info.plist.

In the demo app, you just have to add your Dropbox app ID to the local Accounts.plist file, then select the app target, select the info tab and insert the same app ID under URL Types.

Example Project

The main Vandelay repository contains an example app, that shows you how to integrate with Dropbox.

Versioning

Versions < 1.0.0 will have breaking changes between minor versions, so VandelayDropbox 0.8.0 will probably not be compatible with 0.7.0 etc.

Author

Daniel Saidi, daniel.saidi@gmail.com

License

VandelayDropbox is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.