Git Product home page Git Product logo

react-native-rename's Introduction

react-native-rename

NPM version NPM monthly downloads

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 or expo bare workflow.

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 react-native-rename@latest "new_name"

With custom Bundle Identifier

$ npx react-native-rename@latest "new_name" -b "bundle_identifier"

Example

First, Switch to new branch (optional but recommended)
$ git checkout -b rename-app
Then, Rename your app
$ npx react-native-rename "Travel App"

With custom Bundle Identifier

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

CLI Options

Name Description
-b or --bundleID [value] Set custom bundle identifier for both ios and android eg. "com.example.app" or "com.example".
--iosBundleID [value] Set custom bundle identifier specifically for ios.
--androidBundleID [value] Set custom bundle identifier specifically for android.
-p or --pathContentStr [value] Path and content string that can be used in replacing folders, files and their content. Make sure it doesn't include any special characters.
--skipGitStatusCheck Skip git repo status check

Local installation

With Yarn:

$ yarn global add react-native-rename

With npm:

$ npm install react-native-rename -g

Support

Buy Me A Coffee

react-native-rename's People

Contributors

junedomingo avatar dependabot[bot] avatar vomchik avatar ajcrites avatar dopplerdistortion avatar redreceipt avatar soroushchehresa avatar whalemare avatar danieljvdm avatar rog3r-dev avatar kyle-ssg avatar zuccha avatar strdr4605 avatar francescopersico avatar raphamorim avatar hexrcs avatar twinski avatar itsjw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.