Low commit activity in last 3 years
There's a lot of open issues
No release in over a year
Android Versioning Plugin for Fastlane
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

versioning_android plugin

Build Status fastlane Plugin Badge

Getting Started

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

fastlane add_plugin versioning_android

About versioning_android

Android Versioning Plugin for Fastlane - easily Get / Set versionCode and versionName on your Android project.

Note: If you need to work with Build Number and Version on iOS, see versioning_ios

Available actions

  • android_get_version_code to get the Version Code
  • android_get_version_name to get the Version Name
  • android_set_version_code to set the new Version Code
  • android_set_version_name to set the new Version Name

Example

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 test.

Example project

@todo You can find a fully functional setup of this plugin in the UdemyFastlane repo, where you can also find more info about versioning of Android apps.

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

Flutter

The android_set_version_name action on Flutter requires a different usage when setting a specific version.

To avoid setting a numeral instead of a string in the build.gradle file, the version_name argument (string) needs to be wrapped in quotes:

android_set_version_name(version_name: '"1.23.4"')

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.