react-native-rename-next

Rename react-native app with just one command

Usage no npm install needed!

<script type="module">
  import reactNativeRenameNext from 'https://cdn.skypack.dev/react-native-rename-next';
</script>

README

This fork has some new features:

  • Validate bundleID to match requirements for Android; [by @strdr4605]
  • Change package name for other java files; (by @strdr4605) [by @strdr4605]
  • Add support for App's Name using '&amp' and other special entities;
  • Change App's Name and Bundle Identifier in iOS more files (eg.: project.pbxproj, .xcscheme file);
  • Add Windows compatibility;

Fork from: https://github.com/junedomingo/react-native-rename

react-native-rename-next

NPM version Build Status

Rename react-native app with just one command

NPM

react-native-rename-next

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 react-native-rename-next -g

Switch to new branch first

better to have back-up

git checkout -b rename-app

Usage

react-native-rename-next <newName>

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

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

Example

react-native-rename-next "My App"

With custom Bundle Identifier

react-native-rename-next "My App" -b io.github.mayconmesquita.myapp