Restore saved-voice OmniVoice speech, add native phone voice models and connect the public Gallery. Harden mobile first-use flows and consent, and skip runtime builds for documentation/test-only changes while retaining lightweight Docker Hub documentation publishing. Include the CLA-signed storage and contact test fixes from #3706 and #3707. Fixes#3671.
Google Play's AI-generated content policy needs an in-app way to report
offensive output. Every Speak take, cloned voice and finished dub, on the
phone or the paired computer, gets a Report action on iOS and Android. The
sheet posts the reason, an optional note, the typed text only when ticked,
the app version and the model to appapi.voicestudio.sh/v1/content-reports
when the user taps Send; no audio or identifiers. One idempotency key per
draft is reused on retry, a 409 gets a new key, and 429/400/other errors
keep the draft. Strings land in all 21 locales; the sanctioned-call lists,
mobile docs and the Play data safety answers describe the new request.
Sign the iPhone app with an App Store Connect API key (cloud-managed
Apple Distribution certificate) and upload it to TestFlight for internal
testers. Owner-dispatched from main only, secrets scoped to steps in the
app-store-connect environment, signature and build number verified
before upload, API key removed afterwards.
prepare_resources.py now emits an App Store-shaped X.Y.Z marketing
version (stripping -beta.N) and takes the build number from
VOICESTUDIO_IOS_BUILD_NUMBER, so beta versions and repeated uploads are
accepted by App Store Connect.
- Dub translation prompt named the source language 'auto' (both apps), and
Qwen echoed garbled input back untranslated. The catalogue prompt now names
only the target language; the real iOS dub now yields French, and both
real dub tests assert the output language.
- iOS ran native inference in detached tasks with no process-wide lock, so
two engine instances could run OmniVoice and llama at once (SIGBUS in a
real run, and beyond phone memory). A NativeLease serializes them, the
same rule Android's nativeLease mutex enforces.
- Both apps use one canonical set of mobile.* strings (Android's, with short
wording for the 7 values that differed); 94 new strings translated into
all 21 locales.
- A contract test rejects placeholder-only strings at the source, before
translations copy them (it happened twice).
- VoiceStudio logo as app icon and launch screen on both apps.
- Screens show model names, never ids or licence codes; one compact
'needs N downloads · size · Get' card per screen.
- Semantic icons for Settings rows and Dub steps; no duplicate Settings
gear; current selection checked in every picker, palette swatches.
- Removed a stray model-id chip; Dictate actions sit above the tab bar;
consent note fits a phone app; Speak chips share the row evenly.
Checked on an arm64 Android 14 emulator.
Matches the Android app screen for screen: short labels and icons with one
primary action; phone voices cloned with OmniVoice and used from Speak;
on-device dubbing (AVAssetReader -> Whisper -> Qwen -> OmniVoice -> mix ->
AVAssetWriter) with progress, cancel and checkpoint resume. VoiceStudioKit
runs real sherpa, OmniVoice and Qwen inference and a full audio dub on
macOS (103 tests).
The three pinned runtimes sit behind one LocalEngine; VoiceStudioKit tests
run real sherpa TTS, Whisper and Zipformer, OmniVoice cloning and llama
translation on macOS with the same native code. Models screen with
user-started, resumable, SHA-256-verified downloads, the desktop's licence
acceptance and RAM fit; Speak and Dictate choose This phone or My computer;
every tab works without pairing. iOS xcframeworks build in CI
(mobile/native/ios/build.sh ios needs Xcode).
From a device run of the Android build against a live host:
- Dub start failures always surface an actionable message (the worker
previously failed silently); the full worker pipeline is now tested
against a mock host.
- An LLM translation engine whose endpoint isn't verifiably on the host's
loopback needs the same per-job consent as online translators.
- The chosen dub file keeps its real name (on screen and as the upload
filename); clearing it says Remove, not Delete.
- Picker values take the space the label doesn't need; dub history uses
compact rows; searches with no matches say so; tabs render immediately.
- 15 new mobile strings translated into all 21 locales.
SwiftUI (mobile/ios) and Jetpack Compose (mobile/android) apps that pair
with the user's own VoiceStudio backend by QR/PIN or API-key session and
drive Speak, Voices/cloning, Dub and Dictate. Both implement one contract,
mobile/contract/SPEC.md.
- Theme tokens are generated from the Electron theme
(scripts/export-mobile-tokens.ts) and the API description from the
backend (scripts/export_openapi.py); tests/test_mobile_contract.py fails
on drift.
- 199 mobile.* strings added to all 21 renderer locale catalogs.
- es: tts.record now reads "Grabar" (record), not "Registro" (log).
- New mobile CI workflow; docs/mobile.md user guide; CHANGELOG entry.