Build mobile clients

Use this page when developing a mobile client or testing a local change. For pairing and everyday use, follow the Android or iOS guide.

Prerequisites

Run the commands below from the repository root unless stated otherwise.

Android

Build the debug APK and install it on a connected device or emulator:

cd apps/android
./gradlew :app:assembleDebug
adb install app/build/outputs/apk/debug/app-debug.apk

For a USB-connected device, forward the daemon port:

adb reverse tcp:7878 tcp:7878

The Android emulator can reach the host at http://10.0.2.2:7878; with USB forwarding, use http://127.0.0.1:7878 on the connected device.

Open the installed app and complete the connection check. A successful Gradle build alone does not verify device networking or sign-in.

iOS

Open the Xcode project:

open apps/ios/Holon.xcodeproj

Select a device or simulator and run the project with Cmd + R. For a physical device, use the host's reachable LAN or tailnet address; localhost refers to the phone.

Complete the connection and file checks in the client guide. A simulator run does not establish physical-device, TestFlight, or App Store acceptance.

Troubleshooting

For release signing and distribution, consult apps/android/RELEASING.md and apps/ios/RELEASE.md in the repository. These debug-build steps do not produce or publish a store release.