No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fastlane
lib/fastlane/plugin
spec
.gitignore
.rspec
.rubocop.yml
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
circle.yml
fastlane-plugin-get_android_version.gemspec

README.md

get_android_version plugin

fastlane Plugin Badge

Getting Started

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

fastlane add_plugin get_android_version

About get_android_version

Gets the android versionName, versionCode and parsed appName (label) from AndroidManifest.xml file in provided apk.

Usage:

get_android_version(apk: "path/to/your/file.apk")

Sets these keys

GET_ANDROID_VERSION_NAME : String = The versionName extracted from the apk's manifest file.

GET_ANDROID_VERSION_CODE : String = The versionCode extracted from the apk's manifest file. Hex values are converted to int strings.

GET_ANDROID_VERSION_APP_NAME : String = The appName (label) extracted from the apk's manifest file.

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.

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)

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 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 beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.

Credit apktools

https://github.com/devunwired/apktools