Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/martiigarcia/gesdeportiva/llms.txt

Use this file to discover all available pages before exploring further.

gesDeportiva targets Android and iOS from a single React Native codebase. Each platform requires its own native toolchain. Follow the section for your target platform — you can set up both if you want to run on Android and iOS.
iOS development requires macOS. You cannot build or run the iOS target on Windows or Linux.

Platform setup

Install Android Studio

Download and install Android Studio. During installation, make sure the following components are selected:
  • Android SDK
  • Android SDK Platform
  • Android Virtual Device (AVD)

Configure the Android SDK

gesDeportiva targets API level 31 or higher. In Android Studio, open SDK Manager (via Settings > Languages & Frameworks > Android SDK) and install:
  • Android SDK Platform 31 (or higher)
  • Intel x86 Atom_64 System Image or Google APIs Intel x86 Atom System Image (for the emulator)

Set the ANDROID_HOME environment variable

React Native CLI needs to know where the SDK is installed. Add the following to your shell profile (~/.bashrc, ~/.zshrc, etc.):
export ANDROID_HOME=$HOME/Library/Android/sdk        # macOS
# export ANDROID_HOME=$HOME/Android/Sdk             # Linux
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
Reload your shell after saving:
source ~/.zshrc   # or source ~/.bashrc

Create and start an emulator

In Android Studio, open Virtual Device Manager and create a new device. Choose a hardware profile (e.g. Pixel 6) and a system image at API 31 or above. Start the emulator before running the app.

Run on Android

With the emulator running, execute:
npm run android
This runs react-native run-android, which builds the app and installs it on the emulator. The Android package is registered as com.gesdeportiva (see android/app/src/main/AndroidManifest.xml).
You can also run on a physical Android device. Enable Developer options and USB debugging on the device, then connect it via USB. It will appear as a target automatically.

Verify your setup

After completing platform setup, confirm everything works end to end:
1

Install JavaScript dependencies

npm install
2

Start Metro

npm start
3

Launch the app

In a separate terminal, run the platform command:
npm run android
The app should open with two bottom tabs: Login and Menu.

Build docs developers (and LLMs) love