id: rb-android feature: 6-android branch: feat/6-android status: draft created: 2026-09-10 depends_on: [5-result-view]

PRD — Android app

Goal

The same build, wrapped in Capacitor, signed, installed on a phone, and recording through a microphone path no browser will give us.

Why

Two reasons, and only one of them is distribution.

The first is that the MVP says the primary target is an Android app. Everything so far runs in a browser because that is the fastest loop, not because the browser is the destination.

The second came out of phase 4 and matters more. Android will not hand a web page unprocessed microphone audio in any dependable way: with echo cancellation on, the platform gates a steady engine note about a second in, and turning it off produced silence on one of the two browsers tested. A native recorder can open MediaRecorder.AudioSource.UNPROCESSED, which is not exposed to web pages at all, and hand raw PCM straight to the same DSP. That is the difference between an app that reads an engine and one that reads one on some phones.

User stories

  1. As a user, I install RPM Boss from a file, open it, and it looks and behaves like the web app because it is the web app.
  2. As a user, I press Record and the engine sound arrives unprocessed, at a level that holds for the whole take, whatever browser I happen to use.
  3. As a user, the app asks for the microphone once, in the way Android asks.
  4. As a user, I can still load a file I already have.

Scope

In

Out

Acceptance criteria

  1. npx cap sync android and a release build both succeed from a clean tree.
  2. The signed APK installs on the maintainer's phone and opens to the app.
  3. Recording works in the installed app, and the level holds for a five second take of the same laptop playback that faded in the browser.
  4. The plugin reports the audio source it opened, and on this device that is UNPROCESSED.
  5. Calculate on a native recording gives a number consistent with the same audio analysed in the browser.
  6. Upload still works in the installed app.
  7. Denying the microphone shows the existing message, and the app stays usable for uploads.
  8. The APK is signed with the rpmboss upload key, confirmed against the fingerprints recorded in a private signing doc.
  9. The icon appears correctly on the launcher, in both a round and a square mask.
  10. npm test, npm run lint and npm run build still pass, and the browser build is unaffected.

Non-goals and constraints

Open questions