
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
fastlane-plugin-dropbox
Advanced tools
This project is a fastlane plugin. To get started with fastlane-plugin-dropbox
, add it to your project by running:
fastlane add_plugin dropbox
This plugin allows for uploading files to Dropbox from Fastlane, using provided Dropbox client application.
This plugin relies on MacOS keychain (for storing your Dropbox access token), hence it would work only on MacOS at the moment.
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.
Using access token:
dropbox(
file_path: '/some/local-path/to/file.txt',
dropbox_path: '/path/to/Dropbox/destination/folder',
access_token: 'your-dropbox-access-token'
)
Using app key and app secret:
dropbox(
file_path: '/some/local-path/to/file.txt',
dropbox_path: '/path/to/Dropbox/destination/folder',
app_key: 'your-dropbox-app-key',
app_secret: 'your-dropbox-app-secret'
)
The dropbox_path
parameter is optional - if not provided, the file at file_path
would be put in the Dropbox root directory.
The default write_mode
is add
, which means that plugin will raise an error if the file already exists at the destination path. If you want to allow for overwriting, set the write_mode
parameter like so:
dropbox(
file_path: '/some/local-path/to/file.txt',
dropbox_path: '/path/to/Dropbox/destination/folder',
write_mode: 'overwrite',
access_token: 'your-dropbox-access-token'
)
For the more fine-grained overwriting you can set the update
write mode, and pass the current file revision to update:
dropbox(
file_path: '/some/local-path/to/file.txt',
dropbox_path: '/path/to/Dropbox/destination/folder',
write_mode: 'update',
update_rev: 'filerevisiontoupdate',
access_token: 'your-dropbox-access-token'
)
The update_rev
parameter is required for update
write mode and ignored in other cases. Currently, if the current file revision on Dropbox doesn't match the provided revision, the plugin will fail (Dropbox API won't allow for the update).
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.
FAQs
Unknown package
We found that fastlane-plugin-dropbox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.