Clarify Android-only prototype status
This commit is contained in:
1 parent
adad6ec27f
commit
c93e985a47
6 files changed
+21
-50
No files matched your search
+7
-27
@@ -1,8 +1,8 @@
|
||||
# Native Mobile Builds
|
||||
|
||||
BeatHound uses Capacitor to wrap the web app for Android and iOS. The `android/` and `ios/` folders contain the native projects.
|
||||
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
|
||||
## 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.
|
||||
|
||||
@@ -35,36 +35,16 @@ adb install downloads/BeatHound-Android-eOS-1.0.0-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
|
||||
## iOS status
|
||||
|
||||
Capacitor's Xcode project is in `ios/App/App.xcodeproj`. Building an iOS app requires macOS and Xcode. This repository includes a script for creating an unsigned IPA that can be signed on-device for personal sideloading; this Linux build environment cannot produce the IPA itself.
|
||||
|
||||
### Build an unsigned IPA for sideloading
|
||||
|
||||
On a Mac with Node.js and Xcode installed:
|
||||
|
||||
```sh
|
||||
npm install
|
||||
npm run ios:unsigned-ipa
|
||||
```
|
||||
|
||||
The script builds the app for physical iOS devices and writes:
|
||||
|
||||
```text
|
||||
downloads/ios/BeatHound-iOS-1.0.0-unsigned.ipa
|
||||
```
|
||||
|
||||
The IPA is not directly installable by opening it on an iPhone. Import it into a sideloading app such as AltStore or Sideloadly and sign it with your Apple ID. A free personal Apple ID can be used for personal sideloading, but the signature needs periodic renewal and the sideloading app's setup instructions must be followed. No App Store upload is involved.
|
||||
|
||||
For managed distribution to other users or direct installation without a sideloading app, use Apple's supported distribution and signing options in Xcode. Keep certificates, provisioning profiles, and signing keys out of Git.
|
||||
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 both native projects. |
|
||||
| `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` | Builds and syncs the iOS project. |
|
||||
| `npm run ios:open` | Opens the iOS project in Xcode; run this on macOS. |
|
||||
| `npm run ios:unsigned-ipa` | Builds an unsigned iOS IPA for personal sideloading; run this on macOS with Xcode. |
|
||||
| `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. |
|
||||
@@ -15,8 +15,7 @@ Main tools:
|
||||
- **React** builds the interface and manages state.
|
||||
- **TypeScript** checks types before the app is built.
|
||||
- **Ionic React** provides page and control components.
|
||||
- **Capacitor** wraps the web app in native Android and iOS projects.
|
||||
- **Capacitor** wraps the web app in native Android and iOS projects.
|
||||
- **Capacitor** wraps the web app in native projects. Android/e/OS is the current mobile prototype; iOS is not supported for financial reasons.
|
||||
- **Ionicons** provides the control icons.
|
||||
- **Vite** runs the local development server and builds the static site.
|
||||
- **Vitest** runs the tests.
|
||||
@@ -285,13 +284,13 @@ npm test
|
||||
|
||||
The scripts are defined in `package.json`. `npm run build` first runs TypeScript with no output, then Vite writes the app's static production site to `dist/`. The React plugin and Vitest environment are set in `vite.config.ts`. TypeScript strict options are in `tsconfig.json`; ESLint rules are in `eslint.config.js`.
|
||||
|
||||
`capacitor.config.ts` sets the native app ID and points Capacitor to `dist/`. The Android debug build is copied into `downloads/` by `npm run android:debug`. iOS project sync is available on all platforms, but creating a signed IPA requires macOS and Xcode.
|
||||
`capacitor.config.ts` sets the native app ID and points Capacitor to `dist/`. The Android debug build is copied into `downloads/` by `npm run android:debug`. An iOS scaffold exists, but iOS development, testing, and distribution are not currently supported for financial reasons.
|
||||
|
||||
`capacitor.config.ts` points Capacitor to the `dist/` web build and defines the native app ID. `npm run build:mobile` uses relative asset paths so the native WebView can load local files.
|
||||
|
||||
The documentation site uses VitePress. Run `npm run docs:dev` to work on it locally, `npm run docs:build` to create its static files in `docs/.vitepress/dist/`, and `npm run docs:preview` to view that build. The pages are Markdown files under `docs/`; navigation and local search are set in `docs/.vitepress/config.mts`.
|
||||
|
||||
The project includes a web manifest and home-screen icons in `public/`, plus Capacitor wrappers in `android/` and `ios/`. It does not include a service worker, offline caching, persistence, or a server deployment configuration. Native build steps are in [Native Mobile Builds](native-builds.md).
|
||||
The project includes a web manifest and home-screen icons in `public/`, plus Capacitor wrappers in `android/` and `ios/`. Android/e/OS is the current mobile prototype; the iOS scaffold is not a supported target. The project does not include a service worker, offline caching, persistence, or a server deployment configuration. Native build steps are in [Native Mobile Builds](native-builds.md).
|
||||
|
||||
## 10. Main implementation limits
|
||||
|
||||
@@ -301,4 +300,4 @@ The project includes a web manifest and home-screen icons in `public/`, plus Cap
|
||||
- Playback timing uses a browser interval and may drift under load.
|
||||
- Points are rounded to one of four playback subdivisions per main step when they play.
|
||||
- The app makes audio with browser-generated oscillators and noise. It does not load user audio files.
|
||||
- iOS IPA creation requires macOS, Xcode, and signing configured outside this Linux build environment.
|
||||
- iOS development, testing, and distribution are currently unsupported for financial reasons.
|
||||
@@ -66,7 +66,7 @@ Browsers often block sound until the user interacts with the page. Press **Play*
|
||||
|
||||
The app makes playback ticks with a browser timer. At each tick it checks whether a sound point should play. The exact timing can depend on the browser and the device.
|
||||
|
||||
The page layout adapts to different screen sizes. The project includes a web app manifest, icons, and Capacitor projects for Android and iOS. It does not include code for saving patterns or working offline. See the [native build guide](native-builds.md) for mobile build requirements.
|
||||
The page layout adapts to different screen sizes. The project includes a web app manifest and icons. The current mobile prototype targets Android/e/OS; iOS is not supported at this time for financial reasons. The app does not include code for saving patterns or working offline. See the [native build guide](native-builds.md) for mobile build requirements.
|
||||
|
||||
## 4. Run the project on your computer
|
||||
|
||||
@@ -100,7 +100,7 @@ npm test
|
||||
|
||||
## 5. How the software is organized
|
||||
|
||||
BeatHound is a React and TypeScript app. Ionic React provides many of the buttons, popovers, and page elements. Vite runs the development server and builds the web app. Capacitor wraps that web app in Android and iOS projects.
|
||||
BeatHound is a React and TypeScript app. Ionic React provides many of the buttons, popovers, and page elements. Vite runs the development server and builds the web app. Capacitor wraps that web app in native projects; Android/e/OS is the current mobile prototype, while iOS is unsupported for financial reasons.
|
||||
|
||||
The main path through the app is:
|
||||
|
||||
|
||||
Reference in new issue
Block a user