Overview
The react-native-rename tool allows developers to easily rename their React Native apps with just one command. It is especially handy for projects created using react-native init or Expo bare workflow. While it simplifies the process of renaming the app, users should note that it does not handle the renaming of build artifacts such as ios/build or Cocoa Pod installation targets.
Features
- Easy Renaming: Rename a React Native app with a single command.
- Custom Bundle Identifier: Set a custom bundle identifier for both iOS and Android.
- CLI Options: Customize the renaming process further with options like specifying bundle identifiers and paths.
Installation
To locally install react-native-rename using Yarn, run:
yarn add react-native-rename
If you prefer using npm, you can install it with the following command:
npm install react-native-rename
Summary
The react-native-rename tool simplifies the process of renaming React Native apps, making it easier for developers to update project names efficiently. By providing options to set custom bundle identifiers and paths, it offers flexibility in the renaming process. However, users should be aware that certain build artifacts may require manual adjustments after using this tool.