fastlane-plugin-polidea

build status Gem

Getting Started

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

fastlane add_plugin polidea

Available actions

Plugin contains following actions:

  • extract_app_name: Extracts application name from .apk/.ipa
  • extract_app_icon: Extracts largest icon from .ipa/.apk
  • extract_version: Extracts app version and build number from .ipa/.apk
  • get_binary_size: Measures binary size in bytes
  • s3: Custom version of s3 action with Polidea's installation page
  • mailgun: Custom version of mailgun action with Polidea's mail template
  • polidea_store: Notifies Polidea Store about new app version

See more details here. To list all available actions run:

fastlane actions

Example

lane :deploy do
  (some actions that produces .ipa/.apk)
  extract_app_name
  extract_app_icon
  extract_version
  get_binary_size
  s3
  polidea_store
  mailgun(
    to: "[email protected]"
  )
end

Check out the example Fastfile to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins and bundle exec fastlane [android|ios] test.

Note to author: Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting doc in the main fastlane repo.

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 building and releasing your iOS and Android apps. To learn more, check out fastlane.tools.

Development

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