Fastlane Dropbox plugin

fastlane Plugin Badge Gem Version

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-dropbox, add it to your project by running:

fastlane add_plugin dropbox

About

This plugin allows for uploading files to Dropbox from Fastlane, using provided Dropbox client application.

Setting up

Note: Dropbox allows accessing their API only for authorized applications, so in order to use this plugin you must register a Dropbox app.

In order to register a Dropbox app you need to go to Dropbox Developers site and create your own app.

  1. For Fastlane you only need the app key and app secret. You'll also have to come up with some name for the app, but this is not used by Fastlane in any way.
  2. You also don't need to apply for production state of your app, and keep it in development phase unless you make heavy use of it. Even Dropbox themselves encourage staying in development state when the app is used as an internal tool. Read more here.
  3. You start with access for one user only, but in development state you can request access for up to 500 users, which should cover most of the use cases for Fastlane integration.

Example

dropbox(
    file_path: '/some/local-path/to/file.txt',
    dropbox_path: '/path/to/Dropbox/destination/folder',
    write_mode: "update",
    update_rev: "file-revision-to-update",
    app_key: 'your-dropbox-app-key',
    app_secret: 'your-dropbox-app-secret'
)

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.