Files
beat-hound/docs/native-builds.md
T

2.2 KiB

Native Mobile Builds

BeatHound's current mobile target is an Android/e/OS prototype using Capacitor. An iOS project scaffold exists, but iOS is not supported at this time for financial reasons; there is no supported iOS build or distribution process.

Android and e/OS prototype

The Android project has a minimum SDK level of 24. It can run on Android 7.0 and newer. Compatible e/OS 4 or newer devices can install the same APK when their Android base meets that minimum.

Build a debug APK

Install Node.js, JDK 21, and Android SDK Platform 36 with Build Tools 36.0.0. Accept the Android SDK licenses, then run:

npm install
npm run android:debug

Gradle creates the debug APK here:

android/app/build/outputs/apk/debug/app-debug.apk

After a successful build, downloads/BeatHound-Android-eOS-0.1.1-debug.apk is debug-signed and available for direct testing and sideloading, not for Google Play publication. A release build should use a private signing key that is not stored in Git.

npm run android:debug also copies each new debug build to downloads/BeatHound-Android-eOS-0.1.1-debug.apk.

Install with ADB

With USB debugging enabled on an Android or e/OS device, install the APK with:

adb install downloads/BeatHound-Android-eOS-0.1.1-debug.apk

You can also transfer the APK to the device and open it. The device may ask you to allow installation from that file source.

iOS status

The repository contains an iOS project scaffold, but it is not a supported target. iOS development, testing, and distribution are currently out of scope for financial reasons. The unsigned IPA tooling is experimental and is not a supported release or installation path.

Mobile build commands

Command Result
npm run build:mobile Builds the web assets with relative paths for Capacitor.
npm run cap:sync Builds web assets and syncs the local Capacitor projects; Android/e/OS is the supported prototype target.
npm run android:debug Builds and syncs Android, then creates a debug APK.
npm run ios:sync Syncs the iOS scaffold; this does not mean iOS is a supported target.
npm run ios:open Opens the iOS scaffold in Xcode; iOS builds are unsupported.