1.0.6 • Published 8 months ago

neti-create-rn v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

neti-create-rn

New RN project creator

Usage:

1) Install globally this package if not installed npm i -g neti-create-rn 2) Go the projects folder on your computer 3) Open terminal 4) 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.

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago