Note: Before proceeding, ensure you have completed the React Native Environment Setup up to the "Creating a new application" step.
- Node.js > v22.4.0
- npx > v10.8.2
- Xcode 12
- CocoaPods 1.15.2
- JDK > 11
- Android Studio and Android SDK
axios
for networkingprop-types
for component property type-checkingdotenv
for environment managementreact-navigation
for app navigationreact-native-localization
for string localization
-
Install dependencies
yarn install
-
Create mocked Google service files These files are required for a successful build. Run:
chmod +x ./scripts/copy-sample-files.sh && ./scripts/copy-sample-files.sh
-
Configure environment variables Open
.env.debug
and replaceENV_PROJECT_ID
with your Cloud Project ID. -
Install CocoaPods dependencies (iOS only) If using Xcode 12.5 or higher, run:
cd ios && pod install --repo-update
Open a new terminal from the root of your project and run:
-
Android
yarn android
-
iOS
yarn ios
(Alternatively, you can run directly from Xcode or Android Studio.)
If everything is configured correctly, your app should launch on the Android emulator or iOS simulator.
-
Build production Android APK
yarn build-apk-prod
-
Build production iOS IPA (Add your iOS production build command here if different)