This project is a fastlane plugin. To get started with fastlane-plugin-android_change_app_name
, add it to your project by running:
fastlane add_plugin android_change_app_name
Changes the manifest's android:label attribute (appName). Stores the original name for revertinng.
Inupts:
newName: String // The new name of your app
manifest: String (Optional) // The location to your AndroidManifest.xml file. Default: "app/src/main/AndroidManifest.xml"
Usage:
android_change_app_name(newName: "AwesomeNewName")
android_change_app_name(newName: "AwesomeNewName", manifest: "path/to/your/manifest.xml")
Sets these keys
ANDROID_CHANGE_APP_NAME_ORIGINAL_NAME : String
= The original value from android:label.
Reverts the manifest's android:label attribute (appName) to the prior ANDROID_CHANGE_APP_NAME_ORIGINAL_NAME value. Errors if ANDROID_CHANGE_APP_NAME_ORIGINAL_NAME is not set.
Inupts:
manifest: String (Optional) // The location to your AndroidManifest.xml file. Default: "app/src/main/AndroidManifest.xml"
Usage:
android_change_app_name_revert()
android_change_app_name_revert(manifest: "path/to/your/manifest.xml")
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)
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 doc in the main fastlane
repo.
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.