Fastlane rollbar plugin

fastlane Plugin Badge Gem Version Build Status

Getting Started

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

fastlane add_plugin rollbar

About rollbar

Helps to upload sourcemaps/dsyms/proguard mapping/deploy report to Rollbar

Example

rollbar_sourcemaps_upload(
  api_key: 'YOUR_ROLLBAR_SERVER_API_KEY',
  os: 'ios', // 'android'
  code_version: 'your_code_version'
  environment: 'production',
)

rollbar_dsym_upload(
  api_key: 'YOUR_ROLLBAR_SERVER_API_KEY',
  dsym_path: '/path/to/dsym.zip',
  code_version: 'your_code_version',
  bundle_identifier: 'YOUR_BUNDLE_IDENTIFIER',
  environment: 'production',
)

rollbar_proguard_upload(
  api_key: 'YOUR_ROLLBAR_SERVER_API_KEY',
  proguard_path: /path/to/mapping.txt,
  code_version: 'your_code_version',
  environment: 'production',
)

rollbar_report_deploy(
  api_key: 'YOUR_ROLLBAR_SERVER_API_KEY',
  environment: 'production',
  revision: 'GIT_SHA_REVISION',
)

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.