Rename react-native app with just one command
This package assumes that you created your react-native project using
react-native init
.
yarn global add react-native-rename
or
npm install react-native-rename -g
Switch to new branch first
better to have back-up
git checkout -b rename-app
react-native-rename <newName>
With custom Bundle Identifier (Android only. For iOS, please use Xcode)
react-native-rename <newName> -b <bundleIdentifier>
react-native-rename "Travel App"
With custom Bundle Identifier
react-native-rename "Travel App" -b com.junedomingo.travelapp