@geekrishabh/rn-rename
v1.0.3
Published
Rename react-native app with just one command
Downloads
6
Maintainers
Readme
@geekrishabh/rn-rename
Rename react-native app with just one command
This package assumes that you created your react-native project using
react-native init
.
Note: This package does not attempt to properly rename build artifacts such as ios/build
or Cocoa Pod installation targets. After renaming your project you should clean, build, and reinstall third party dependencies to get it running properly with the new name.
Usage
$ npx @geekrishabh/rn-rename <newName>
With custom Bundle Identifier (Android only. For iOS, please use Xcode)
$ npx @geekrishabh/rn-rename <newName> -b <bundleIdentifier>
Example
First, Switch to new branch (optional but recommended)
$ git checkout -b rename-app
Then, Rename your app
$ npx @geekrishabh/rn-rename "Travel App"
With custom Bundle Identifier
$ npx @geekrishabh/rn-rename "Travel App" -b com.geekyants.travelapp
Local installation
With Yarn:
$ yarn global add @geekrishabh/rn-rename
With npm:
$ npm install @geekrishabh/rn-rename -g