🚀🚀🚀
Starter project for React Native mobile application with Home, Login and Register pages.
Project created with https://github.com/react-native-community/react-native-template-typescript
-
Clone this repo,
Github URL
-
Go to project's root directory,
cd <your project name>
-
Remove
.git
folder,rm -rf .git
-
Open
package.json
and change thename
property with your project name -
Open
index.js
and replace'react-native-auth-starter'
by your project name -
Open
app.json
and replace'react-native-auth-starter'
by your project name -
Run
npm install
to install dependencies -
Run
react-native upgrade --legacy true
to upgrade and add iOS & Android Folders and don't allow the tool to update your config files. -
Install Cocoapods: https://cocoapods.org/
-
Navigate to /ios folder and execute
pod install
-
Back in the project root folder and start the packager with
npm start
-
Connect a mobile device to your development machine
-
Run the test application:
- On Android:
- Run
react-native run-android
- Run
- On iOS:
- Run
react-native run-ios
- OR
- Open
ios/YourReactProject.xcodeproj
in Xcode - Hit
Run
after selecting the desired device
- Run