Skip to main content

Overview

Hyperscape uses Capacitor to build native mobile apps from the web client.

Prerequisites

iOS

  • macOS with Xcode installed
  • Apple Developer account (for device testing)

Android

  • Android Studio installed
  • Android SDK configured

Build Commands

iOS

Android

Sync Commands

Development Workflow

1

Build the web client

2

Sync to native project

3

Open in IDE

4

Run on device/simulator

Use the native IDE to build and run on your target device.

Configuration

Capacitor Config

The Capacitor configuration is in packages/client/capacitor.config.ts:

Environment Variables

For mobile builds, ensure these are set:

Platform-Specific Notes

iOS

  • Minimum iOS version: 14.0
  • Requires provisioning profile for device testing
  • Use TestFlight for beta distribution

Android

  • Minimum SDK: 24 (Android 7.0)
  • Generate signed APK for distribution
  • Use Play Console for beta testing

Debugging

iOS

  1. Open Xcode from npm run ios:dev
  2. Select simulator or connected device
  3. Use Safari Web Inspector for debugging

Android

  1. Open Android Studio from npm run android:dev
  2. Select emulator or connected device
  3. Use Chrome DevTools for debugging
Enable USB debugging on Android devices and trust your computer on iOS devices.