- React-native 0.62
- React-Navigation v5
- easy-peasy for state management
- redux-persist for data persistence
- Reactotron and Flipper for debugging
- React Native UI Kitten for UI Library and Theming (eva design)
- Theming using hooks!
- Built in Authentication Flow
- Built in 60fps Animated Tab Bar
- Unit tests
Step 1: Clone and Install
$ git clone https://github.com/chris24elias/react-native-app-template.git
$ cd react-native-app-template
$ rm -rf ./.git
$ yarn
Step 2: Rename the app react-native-rename
$ yarn global add react-native-rename
$ react-native-rename <newName>
Step 3: Rename XCode Project Completely
A quicker solution using shell commands (works with CocoaPods too):
PLEASE cd TO A NON-GIT REPOSITORY BEFORE PROCEEDING
Step 1 - Prerequisites
Copy your original project folder to a temporary /NewProjectFolder OUTSIDE your git repository.
Close XCode. Go to your /NewProjectFolder.
cd /Path/to/your/NewProjectFolder
Install the extra tools needed.
brew install rename ack
Rename the files and directories containing the source string. You’ll need to RUN THIS COMMAND TWICE, because directories will be renamed first, then files and directories inside those will be renamed on the next iteration.
find . -name 'oldName*' -print0 | xargs -0 rename --subst-all 'oldName' 'NewProject'
Check if all the files containing the source string are renamed. You should see empty output.
find . -name 'oldName*'
Replace all occurrences of the string in all files.
ack --literal --files-with-matches 'oldName' --print0 | xargs -0 sed -i '' 's/oldName/NewProject/g'
Check if all occurrences of the string in all files were replaced. You should see empty output.
ack --literal 'oldName'
Run pod install Add NewProjectFolder to your repository. You are done!