Name
Version
Node.js
v20.17.0+
NPM
v10.8.2+
Android Studio
v2024.2.0+
XCode
v16.0+
Create a .env file in the root of the project and add the following:
name
value
required
REACT_APP_SENTRY_DSN
secret
no
Install the dependencies:
npm install
# or
yarn install
Run the development WEB server:
npm run web
# or
yarn web
Run the development ANDROID server:
npm run android
# or
yarn android
Development app will run on the Android Emulator/device
Run the development IOS server:
npm run ios
# or
yarn ios
Development app will run on the IOS Emulator/device
npm run test
# or
yarn test
Launches the test runner in the interactive watch mode.
See the section about running tests for more
information.
How to deploy with Codemagic
Rename code codemagic.yaml.example to codemagic.yaml
Follow the React Native guide to configure your project and update the codemagic.yaml file.
Push the updated file to the repository.
Signup/Login to Codemagic . how to signup
Create a new project and select the repository where the project is located.
Select the branch you want to build and click on the start new build button.
The build will start and you can monitor the build progress in the build logs.
Once the build is successful, you can download the APK file and install it on your device.