No commit activity in last 3 years
No release in over 3 years
Change the app_name in the strings.xml file & revert method
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.107.0
>= 0
>= 0
>= 0

Runtime

 Project Readme

android_change_string_app_name plugin

fastlane Plugin Badge

Getting Started

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

fastlane add_plugin android_change_string_app_name

About android_change_string_app_name

Change the app_name in the strings.xml file & revert method

Inupts:

newName: String  // The new name of your app
stringsFile: String (Optional) // The location to your strings.xml file.  Default: "app/src/main/res/values/strings.xml"

Usage:

android_change_string_app_name(newName: "AwesomeNewName")
android_change_string_app_name(newName: "AwesomeNewName", stringsFile: "path/to/your/strings.xml")

Sets these keys

ANDROID_CHANGE_STRING_APP_NAME_ORIGINAL_NAME : String = The original value from android:label.

About android_change_string_app_name_revert

Reverts the strings.xml app_name attribute to the prior ANDROID_CHANGE_STRING_APP_NAME_ORIGINAL_NAME value. Errors if ANDROID_CHANGE_STRING_APP_NAME_ORIGINAL_NAME is not set.

Inupts:

stringsFile: String (Optional) // The location to your strings.xml file.  Default: "app/src/main/res/values/strings.xml"

Usage:

android_change_string_app_name_revert()
android_change_string_app_name_revert(stringsFile: "path/to/your/strings.xml")

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.