There are a few important prerequisites which should be prepared or answered before deployment:
- You must know how to configure and run react native project for ios.
- install dependecies using
yarn install - link dependecies using
react-native link - DELETE File
ReactNativeNavigationTestsif you encounter "iOS linker error: library not found for -ljschelpers #4691" (wix/react-native-navigation#4691 (comment))
In the project directory, you can run:
Run an app in iPhone simulator
Starts bundler. (by default it will starts when you run react-native run-ios)
Launches the test runner in the interactive watch mode.
The structure of the Valegoo and explanation follows:
stock-app
├── index.ts # Application entry point run with "react-native run-ios"
├── app
│ ├── components # standalone components
│ ├── assets # fonts and images
│ ├── data # test data
│ ├── lib # Define Libraries into this folder.
│ ├── i18n # localization using i18n-js
│ ├── templates # Handlebars Templates
│ ├── navigation # define navigation config and register screens
│ └── screens # Contains different screens
├── package.json # Package.json for dependencies
├── ios # ios specific code
├── android # android specific code
├── .gitignore # gitignore
├── inaction.gif # screen record .gif image
├── .babelrc # babel configuration
├── app.json # app config
├── jest.config.js # jest configuration
├── rn-cli.config.js # typescript config
├── rn-cli.config.js # typescript config
└── README.md