Skip to content
This repository was archived by the owner on Feb 22, 2021. It is now read-only.

strdr4605/react-native-rename

 
 

Repository files navigation

@strdr4605/react-native-rename

Rename react-native app with just one command

⚠️⚠️⚠️ NOTE: This package is a fork of react-native-rename@2.4.1 with several improvements.

⚠️⚠️⚠️ Probable will be depricated in future if original package will implement these changes

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

npm install @strdr4605/react-native-rename -g

Switch to new branch first

better to have back-up

git checkout -b rename-app

Usage

react-native-rename "<newName>"
# or
npx @strdr4605/react-native-rename "<newName>"

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

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

Example

npx @strdr4605/react-native-rename "Travel App"

With custom Bundle Identifier

npx @strdr4605/react-native-rename "Travel App" -b io.github.strdr4605.travelapp

Packages

No packages published

Languages

  • JavaScript 100.0%