Add Capacitor mobile builds and Android APK

This commit is contained in:
Ninosaurier committed 2026-11-15 15:15:36 +01:00
1 parent 4f221ea122
commit 8ef90b5898
86 files changed
+2874 -7

No files matched your search

+18 -1
View File
@@ -28,6 +28,23 @@ npm run dev
Open the local web address shown by Vite. Choose a dance template or add a sound, then press **Play**. Your browser may ask to allow audio.
## Mobile downloads
- [Android / e/OS debug APK](downloads/BeatHound-Android-eOS-1.0.0-debug.apk) — installable on Android API 24 or newer. The same APK is intended for compatible e/OS 4+ devices.
- **iOS:** An IPA is not included because iOS apps must be built and signed with Xcode on macOS. See the [native build guide](docs/native-builds.md).
The Android file is a debug-signed build for testing. It is not a Google Play release package.
## Build the mobile apps
The project uses Capacitor for native Android and iOS shells.
```sh
npm run android:debug
```
The Android build needs JDK 21 and Android SDK Platform 36 / Build Tools 36.0.0. It writes the Gradle output and copies the APK to `downloads/BeatHound-Android-eOS-1.0.0-debug.apk`. For iOS, use macOS with Xcode: run `npm run ios:sync`, then `npm run ios:open` and archive/sign the app in Xcode. Full setup steps are in the [native build guide](docs/native-builds.md).
## Project checks
```sh
@@ -38,4 +55,4 @@ npm test # run the tests
## Main tools
BeatHound uses React, TypeScript, Vite, Ionic React, Ionicons, and the browser Web Audio API. It needs no backend server or account setup. The current loop stays in memory while the page is open; it is not saved after a refresh.
BeatHound uses React, TypeScript, Vite, Ionic React, Ionicons, Capacitor, and the browser Web Audio API. It needs no backend server or account setup. The current loop stays in memory while the page is open; it is not saved after a refresh.