mirror of https://gitlab.com/m3f_usm/SmartStopAPK
![]() |
||
---|---|---|
__mocks__/@react-native-firebase | ||
android | ||
ios | ||
src | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc.js | ||
.watchmanconfig | ||
Gemfile | ||
Gemfile.lock | ||
README.md | ||
app.json | ||
babel.config.js | ||
commitlint.config.js | ||
index.js | ||
jest.config.ts | ||
metro.config.js | ||
package.json | ||
react-native.config.js | ||
tsconfig.json | ||
yarn.lock |
README.md
Getting Started
Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.
Step 1: Install dependencies
yarn install
Step 2: Start your Application
For Android
yarn android
For iOS
yarn ios
If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.
This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.
Troubleshooting
If you can't get this to work, see the Troubleshooting page.
Learn More
To learn more about React Native, take a look at the following resources:
- React Native Website - learn more about React Native.
- Getting Started - an overview of React Native and how setup your environment.
- Learn the Basics - a guided tour of the React Native basics.
- Blog - read the latest official React Native Blog posts.
@facebook/react-native
- the Open Source; GitHub repository for React Native.
Utility scripts
Start metro server
yarn start
Linting code
yarn lint
Run tests
yarn test
Create a release apk
yarn build:apk:release