Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including react-native-rename with all npm packages installed. Try it out:

var reactNativeRename = require("react-native-rename")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

react-native-rename v2.4.1

Rename react-native app with just one command

react-native-rename NPM version NPM monthly downloads NPM total downloads Paypal Donate

Rename react-native app with just one command

react-native-rename

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.

Installation

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

Usage

react-native-rename <newName>

With custom Bundle Identifier (Android only. For iOS, please use Xcode)

react-native-rename <newName> -b <bundleIdentifier>

Example

react-native-rename "Travel App"

With custom Bundle Identifier

react-native-rename "Travel App" -b com.junedomingo.travelapp

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free