Commit Graph
31 Commits
Author SHA1 Message Date
debpalash d8796e367c fix(ios): make packaged public intake metadata readable 2026-11-15 20:21:11 +05:30
debpalash 7cb6e38708 feat(diagnostics): generate private app intake build configuration 2026-11-15 18:11:48 +05:30
debpalash 5070a10e97 fix(diagnostics): preserve failure lifecycle and native privacy disclosures 2026-11-14 20:25:30 +05:30
debpalash fece0f84af feat(diagnostics): add separately opted-in automatic failure reports 2026-11-14 19:27:22 +05:30
debpalash 6b0c714e2a ci(ios): bound total stack sampling and report failed samples 2026-11-11 20:42:13 +05:30
debpalash 3696ab5f51 test(ios): keep the watchdog deadline after output EOF; bound the diagnostics drain
A child that closes stdout/stderr and then hangs left the watchdog loop for
an undeadlined wait; poll it against the same stall budget instead.
TestProcess waits up to 2 s for both pipes to close after exit so captured
diagnostics are complete.
2026-11-11 19:33:02 +05:30
debpalash b0d84f9f44 test(ios): bound every child-process wait and name hung VoiceStudioKit tests
The loopback hosts stopped their Python child with terminate() plus
Process.waitUntilExit(). On a Swift concurrency thread that call can miss its
run-loop wakeup and block forever after the child has exited; reproduced
locally (boundedDownloadCancelsOversizeBeforeBodyCompletes stuck in
-[NSConcreteTask waitUntilExit] with no python process left), matching the
silent 15 minute timeouts on CI.

- TestProcess: exit observed via terminationHandler with SIGTERM/SIGKILL
  deadlines; stdout/stderr drained off-thread; port read has a 30 s deadline
  and the failure carries the child's stdout and stderr.
- All three loopback hosts and the prepare_resources.py run use it.
- Deadlines on the remaining unbounded polling loops and semaphore waits.
- CI: build tests in their own step, then run swift test under
  mobile/ios/scripts/test_watchdog.py on a pty, so each test line is live;
  120 s of silence names the last started test, prints `sample` stacks of
  the process tree and kills it.
2026-11-11 18:33:33 +05:30
Palash Debnath 13a5ef774a fix(ios): repair store provisioning and bundle privacy declarations (#3742)
* fix(ios): bundle required privacy declarations for store uploads

* docs(changelog): record iOS privacy packaging checks

* fix(ios): include every signing helper in recovery checkout

* fix(ios): align shared inbox signing with registered identifiers

* docs(ios): clarify alternate-team signing configuration
2026-11-01 04:23:43 +05:30
Palash Debnath da74a6fc02 fix(mobile): unblock iOS signing and optional-camera Play installs (#3729)
* fix(ios): reuse an existing archive signing identity

* docs(changelog): record reusable iOS signing

* fix(ios): keep recovery signing tools outside release sources

* fix(ios): always delete the temporary signing keychain

* fix(android): keep camera hardware optional for Play installs

* docs(changelog): cover mobile store compatibility fixes

* Harden archive helper cleanup and signing timeouts

* Pin replacement generation in relocation fixture

* Clean cancelled signing imports and stabilize Speech fixture
2026-10-31 21:46:33 +05:30
Palash Debnath 703115010b feat(mobile): add Donate, Pro and Other Apps pages (#3728)
Add native support and project pages to both phone apps with bundled artwork, shared translated content and adaptive layouts.
2026-10-31 19:23:49 +05:30
Palash Debnath faa5294359 fix(mobile): restore OmniVoice speech and expand phone voice models (#3715)
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.
2026-10-31 15:29:16 +05:30
debpalash 356b34d5d5 feat(mobile): add compact Home heroes and maintainer profile cards 2026-10-26 01:10:20 +05:30
debpalash 8fff0f48ab fix(mobile): invalidate encoder caches and prefer current license notices 2026-10-25 02:32:52 +05:30
debpalash cd2453a592 fix(ios): generate workspace resources from imported release tooling 2026-10-25 02:29:57 +05:30
debpalash 11b54e9ea6 Merge remote-tracking branch 'origin/main' into feat/mobile-production-parity
# Conflicts:
#	mobile/contract/SPEC.md
2026-10-25 02:28:21 +05:30
debpalash 97ee0f3707 feat(mobile): add native production workspaces and phone processing 2026-10-25 01:59:47 +05:30
velixio 259c456e07 fix(mobile): send reports to production unless a build overrides the URL 2026-10-25 01:59:44 +05:30
velixio 4dab817e78 feat(mobile): report generated content from the phone apps
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.
2026-10-24 15:13:50 +05:30
debpalash b2228477a2 fix(mobile): bundle locale resources with explicit UTF-8 2026-10-23 21:10:35 +05:30
debpalash 2ebddc7a95 test(ios): validate the bundled icon in resource checks 2026-10-23 19:52:22 +05:30
debpalash fbf4984541 fix(ios): avoid duplicate app icons after merging App Store assets 2026-10-23 19:16:34 +05:30
debpalash 9280ec5111 Merge main into feat/mobile-on-device 2026-10-23 11:32:47 +05:30
velixio 08fe4b70b8 ci(ios): add TestFlight upload workflow
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.
2026-10-23 01:38:04 +05:30
debpalash 7433ee95c5 feat(mobile): store build numbers and release signing hooks for Android and iOS 2026-10-22 13:44:31 +05:30
debpalash b3ce49936d feat(mobile): complete native workflows and Electron-style Home 2026-10-18 22:41:22 +05:30
debpalash 583a639310 fix(mobile): real translation in on-device dubs, one native job at a time on iOS, shared strings
- 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).
2026-10-18 06:00:45 +05:30
debpalash 08d9bcdd95 feat(mobile): UI polish from the emulator review
- 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.
2026-10-18 05:46:21 +05:30
debpalash 6e4b89c27d feat(ios): simple UI with little text, on-device voice cloning and dubbing
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).
2026-10-18 05:19:35 +05:30
debpalash 1b8fc07ac5 feat(ios): on-device TTS and dictation, model downloads, phone-first routing
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).
2026-10-18 03:44:09 +05:30
debpalash 7603ce0716 fix(mobile): phone-test findings — dub start errors, remote-LLM consent, dub UX
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.
2026-10-18 00:14:49 +05:30
debpalash d9b83e6a17 feat(mobile): native iOS and Android companion apps (preview)
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.
2026-10-17 23:02:12 +05:30