This Project is based on Rootstrap React Native Template
- React Native dev environment
- Node.js LTS release
- Git
- Watchman, required only for macOS or Linux users
- Pnpm
- VS Code Editor
⚠️ Make sure to install all recommended extension from.vscode/extensions.json
Clone the repo to your machine and install deps :
git clone https://github.com/user/repo-name
cd ./repo-name
pnpm install
To run the app on ios
pnpm ios
To run the app on Android
pnpm android
To build your app locally you can run any of the build scripts with --local.
pnpm build:development:ios --local
SonarQube is an open-source platform for continuous inspection of code quality. It performs automatic reviews to detect bugs, code smells, and security vulnerabilities. Rootstrap has a SonarQube instance to improve the quality of the software we develop. On each PR, a GitHub Action is triggered to perform the analysis. To set up SonarQube correctly, you need to add the SONAR_TOKEN
, SONAR_URL
, and SONAR_PROJECT
secrets to the repository. Additionally, you must select the quality gate named ReactNativeTemplate
for your project on SonarQube. In case you're using this project outside Rootstrap and you're not planning to use SonarQube the sonar scanner workflow should be deleted.