neti-create-rn
v1.0.6
Published
Creation tool for staring new project from neti rn-template
Downloads
2
Readme
neti-create-rn
New RN project creator
Usage:
- Install globally this package if not installed
npm i -g neti-create-rn
- Go the projects folder on your computer
- Open terminal
- Run
npx neti-create-rn yourProjectName
Strongly recommended to completely rename RN project by calling the command with --rnname
argument.
npx neti-create-rn yourProjectName --rnname="MyProject"
If you need to rename the bundle name, call the command with --bundle
argument.
npx neti-create-rn yourProjectName --rnname="MyProject" --bundle="my.new.app"
!!!IMPORTANT
To rename the app using --rnname
argument, you must have react-native-rename package globally installed.
It should be noted that due to the new architecture, more files/variables need to be renamed. A short list of things to pay attention to:
android/app/build.gradle
android/app/src/main/jni/Android.mk
android/app/src/main/jni/MainComponentsRegistry.h
android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h
android/app/src/main/java/com/renamesample/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java
ios/RenameSample/AppDelegate.mm
Search by netirntemplate
, to check whether everything was renamed. Pay attention, that renamesample
is a new app name
instead of netirntemplate
.