Mobile client platform
The mobile client platform extends VoiceStudio to Android and iOS through one product contract. The phone can run speech work locally after model download, or control the user's own VoiceStudio host through a guarded connection. Shared contracts and generated resources keep both native clients aligned with the host, the desktop product, and each other.
Product role
Phone-first product model
The mobile product works without a computer. Speech, voice cloning, dictation, dubbing, and production tasks use models on the phone when those models are installed and accepted. Pairing adds access to the user's desktop app, Docker host, or server. It does not add a cloud relay or an account requirement (mobile/…/SPEC.md).
Each task remembers whether it should run on the phone or the paired computer. If a local model is missing, the app shows a model action or uses the selected computer route. It does not silently move work to another device. Phone voices stay local, while computer voices remain owned by the paired host (mobile/…/SPEC.md).
References: mobile/…/SPEC.md• L1-11 mobile/…/SPEC.md• L324-334
Shared client surface
Both apps present the same core product surface: Home, Voices, Dub, Dictate, and Settings. Home also opens Speech, Models, Connect, and the native production workspaces without adding them as extra bottom tabs (mobile/…/SPEC.md).
The surface covers two execution paths. Phone work stays on the device. Computer work sends requests to the selected host and keeps long jobs there so the client can leave the screen and later resume monitoring. The sibling page mobile client apps describes the shared screen behavior and feature flows.
References: mobile/…/SPEC.md• L82-108 mobile/…/SPEC.md• L324-350 mobile/…/MainActivity.kt• L140-177
Shared product contract
Contract boundary
The contract is the boundary that both native apps must implement. It defines product areas, host pairing rules, permissions, accessibility guarantees, privacy limits, and supported operating systems. A shared feature ships on both platforms or on neither (mobile/…/SPEC.md).
The backend API description gives both clients one view of host operations. It also describes explicit diagnostic consent and content-free diagnostic events, plus self-check and crash-recovery data that clients can use to explain host health and past failures (mobile/…/openapi.json, mobile/…/openapi.json, mobile/…/openapi.json). Speech generation can carry an optional paragraph gap and an engine-silence trim choice, so timing-related host behavior stays explicit to clients (mobile/…/openapi.json). The clients treat host responses as the source of truth for computer work and turn failures into a user action such as reconnecting, installing a model, or retrying. Engine self-tests can return the runtime device and runtime log with their pass state, so a client can show where a check ran and preserve useful failure detail (mobile/…/openapi.json). For speech streaming, PCM without an explicit duration is synthesized sentence by sentence. The OpenAPI contract also covers long-form audiobook and story work so native production can use the same host capability model as the desktop product (mobile/…/openapi.json, mobile/…/openapi.json, mobile/…/openapi.json).
References: mobile/…/SPEC.md• L1-20 mobile/…/SPEC.md• L169-195 mobile/…/openapi.json• L1339-1491 mobile/…/openapi.json• L3872-3949 mobile/…/openapi.json• L4371 mobile/…/openapi.json• L5544-5640 mobile/…/openapi.json• L7639-7732 mobile/…/openapi.json• L9287-9519 mobile/…/openapi.json• L18411-18435 mobile/…/openapi.json• L19198-19439
On-device model contract
The on-device model catalogue is a shared product input. It names each model by its user-facing name, capability, language set, device memory advice, files, runtime, and licence state. The generated catalogue lets both clients reject an incomplete or unverified model description before use (mobile/…/models.source.json, mobile/…/models.json).
Users start model downloads explicitly. The apps keep model files private, verify their size and checksum, and require acceptance for licences that are not clearly commercial-safe. The catalogue's RAM value is advice about likely performance. It is not an authorization gate, so the user can choose to try a model after seeing the warning (mobile/…/SPEC.md, mobile/…/ModelCatalog.kt, mobile/…/ModelStore.swift).
The current catalogue supports speech, transcription, live dictation, reference cloning, translation, and native production workspaces. It also supports the shared script model for chapter-based production. A feature must state its model needs, licence state, execution location, and privacy boundary before either client promises it.
References: mobile/…/models.source.json• L1-11 mobile/…/models.json• L1-17 mobile/…/SPEC.md• L217-322 mobile/…/ModelCatalog.kt• L45-55 mobile/…/ModelStore.swift• L45-105
Production contract
Mobile production turns a saved script into durable chapter and full-output audio. A script can name voices, speed, pronunciations, chapters, and pauses. Phone models ignore desktop-only emotion tags rather than speaking them, so the same script remains usable across execution locations (mobile/…/Production.kt).
The production store keeps drafts and completed segments across interruption. It publishes only complete output and preserves chapter files and chapter timing cues for later use. Host production remains described by the shared API contract, while local production uses the same product-level task choice (mobile/…/Production.kt).
References: mobile/…/Production.kt• L14-67 mobile/…/Production.kt• L72-183 mobile/…/openapi.json• L9287-9519
Community gallery
The Community Gallery is a public voice catalogue that works without pairing or installed models. A bundled snapshot gives the user an offline starting point. Opening Gallery may refresh the public manifest, but app startup does not contact the gallery (mobile/…/community-gallery.json, mobile/…/CommunityGallery.kt).
The gallery separates designed recipes from recorded reference voices. A recipe opens native Voice Design with its instruction and script. A recording downloads only after the user plays it or confirms an import. Attribution and licence data travel with an imported voice, while generation still requires the normal model download and licence gates (mobile/…/SPEC.md, mobile/…/CommunityGalleryView.swift).
References: mobile/…/community-gallery.json• L1-10 mobile/…/SPEC.md• L498-515 mobile/…/CommunityGallery.kt• L35-52 mobile/…/CommunityGalleryView.swift• L38-57
Support pages
Donate, VoiceStudio Pro, and Other Apps are offline support pages. They read a bundled support catalogue and artwork. They do not contact a payment provider, sponsor, or analytics service until the user explicitly opens an external link (mobile/…/support.json, mobile/…/SupportPages.swift).
These pages explain that donations do not unlock features and that Pro refers to computer production tools. The pages extend the product story without adding a mobile checkout, account, or entitlement model (mobile/…/SPEC.md, mobile/…/SupportScreens.kt).
References: mobile/…/support.json• L1-56 mobile/…/SPEC.md• L152-167 mobile/…/SupportPages.swift• L1-29 mobile/…/SupportScreens.kt• L45-59
Generated design and localization resources
Design resources
Generated design resources keep the native apps visually related to Electron without making each platform copy desktop theme values by hand. The token contract supplies palette roles, type scale, spacing, radii, appearance choices, and platform presentation values. Dark mode is the default (mobile/…/SPEC.md).
Android uses the shared roles and generated typography. iOS uses the same product roles with native navigation, sheets, and text styles. This keeps capability and consent behavior equal while allowing each operating system to look native (mobile/…/README.md, mobile/…/README.md).
References: mobile/…/SPEC.md• L22-55 mobile/…/README.md• L48-65 mobile/…/README.md• L142-173
Localization resources
Localization uses the desktop language catalogues as the main source and adds a shared mobile namespace for product text. Both apps use the same locale, language, English, and key fallback order. Interpolation and CLDR cardinal plural categories let one contract serve both platforms (mobile/…/SPEC.md, mobile/…/strings.mobile.en.json, mobile/…/L10n.swift).
The iOS reader selects the same plural category shapes as Android before falling back to _other and then the plain key. This matters for languages such as Arabic, Russian, Ukrainian, Polish, French, Portuguese, and Hindi, where count 2 or count 0 can use a category that differs from simple English singular or plural rules. Tests keep this cross-platform contract explicit (mobile/…/L10n.swift, mobile/…/PluralCategoryTests.swift).
Build-time preparation bundles the desktop catalogues, mobile additions, canonical language list, model and design catalogues, community gallery, support data, and native legal resources. This keeps in-app text, permission prompts, model choices, and offline support pages on the same resource path (mobile/…/strings.mobile.en.json, mobile/…/build.gradle.kts, mobile/…/README.md). The Android build also packages generated diagnostics-intake settings from validated build inputs and uses their digest to rebuild the resource bundle when those settings change without printing the intake key (mobile/…/build.gradle.kts, mobile/…/build.gradle.kts).
References: mobile/…/SPEC.md• L66-80 mobile/…/strings.mobile.en.json• L1-37 mobile/…/strings.mobile.en.json• L246-301 mobile/…/build.gradle.kts• L10-32 mobile/…/build.gradle.kts• L61-102 mobile/…/build.gradle.kts• L93-108 mobile/…/README.md• L93-97 mobile/…/L10n.swift• L38-113 mobile/…/PluralCategoryTests.swift• L11-58
Host connection policies
Pairing and origin policy
Pairing establishes one selected VoiceStudio host for computer work. The client validates the host health response before use, accepts plain HTTP only for approved private or local destinations, and requires HTTPS for public destinations. Later requests, media transfers, and WebSocket setup stay on the paired origin (mobile/…/SPEC.md).
Redirects and unrelated health responses are rejected. Native host transport also refuses redirects at the request layer, including same-host redirects, so credentials and media remain on the paired origin (mobile/…/README.md, mobile/…/README.md, mobile/…/HTTP.swift). A failed candidate connection does not replace the active host.
References: mobile/…/SPEC.md• L110-126 mobile/…/README.md• L244-257 mobile/…/README.md• L85-91 mobile/…/HTTP.swift• L59-69
Session and job boundaries
The PIN protects ordinary host requests. An API key is used only for a one-time session exchange, and the resulting short-lived session is stored in the platform secure store. Disconnect clears local access and revokes the host session when possible. A PIN alone does not authorize remote dictation (mobile/…/SPEC.md).
Host identity is part of durable job state. Switching hosts or disconnecting stops the old host's monitoring state, while reconnecting to the same host can resume monitoring. The host continues long-running work after the phone leaves the screen, so a saved job must never attach to a different host (mobile/…/README.md, mobile/…/README.md).
Explicit content reports are a separate user-started action. They send only the declared report fields and never carry audio, account data, credentials, or device identifiers (mobile/…/SPEC.md).
References: mobile/…/SPEC.md• L115-126 mobile/…/SPEC.md• L367-421 mobile/…/README.md• L102-121 mobile/…/README.md• L85-91
Diagnostics and recovery
Consent and privacy boundary
Mobile diagnostics are a separate, default-off product permission. After opt-in, the apps project failures into a small allowlisted record instead of retaining the original error, message, audio, user content, or credentials. A withdrawal invalidates current delivery and removes pending reports; if local storage is not available, the app keeps a bounded retry obligation rather than restoring consent (mobile/…/AutomaticDiagnostics.kt, mobile/…/DiagnosticReports.swift).
The shared backend contract separates the user's diagnostic setting from individual diagnostic events. It limits the event shape to categories, stages, error types, engine identifiers, and optional bounded frames (mobile/…/openapi.json). The related pages diagnostics and observability and diagnostic data flow describe the wider reporting system and its data path.
References: mobile/…/AutomaticDiagnostics.kt• L183-232 mobile/…/DiagnosticReports.swift• L143-187 mobile/…/openapi.json• L5544-5640
Durable report delivery
Reports first enter private durable storage and leave the phone only while the current consent grant remains valid. The Android and iOS reporters use a separate transport from the paired-host client, apply bounded queues and retries, and stop delivery when the user withdraws consent or a kill switch disables diagnostics (mobile/…/DiagnosticReports.kt, mobile/…/DiagnosticReports.swift).
Android can turn eligible prior process exits into reports by using a small OS-owned recovery marker. The marker binds the event to the consent epoch and app version. This allows crash recovery without keeping the old process or its error objects alive (mobile/…/AutomaticDiagnostics.kt). Both platforms can also send app-session events to the configured diagnostics service, while an unauthorized response pauses that service path instead of repeatedly sending the same batch (mobile/…/DiagnosticReports.kt, mobile/…/DiagnosticReports.swift).
References: mobile/…/DiagnosticReports.kt• L180-225 mobile/…/DiagnosticReports.kt• L775-835 mobile/…/DiagnosticReports.swift• L246-365 mobile/…/DiagnosticReports.swift• L643-714
Native platform delivery
Android delivery
Android delivers a native app for API 29 and later. Its platform layer owns permissions, private storage, background work, local notifications, system sharing, and phone model execution. Android also accepts shared text, audio, and video, and exposes widgets and shortcuts without starting inference automatically (mobile/…/AndroidManifest.xml, mobile/…/MainActivity.kt).
Long model transfers use user-initiated jobs on newer Android versions and foreground WorkManager on older supported versions. Phone dubbing, production, transcription, and workflow work use durable foreground jobs with checkpoints and local progress. Notifications report work but are not a cloud push channel (mobile/…/ModelDownloadJobs.kt, mobile/…/PhoneWorkflowWorker.kt).
The Android native build depends on pinned NDK and CMake packages. The SDK setup retries failed package downloads and clears partial SDK-manager state before another attempt. This makes the native runtime build reproducible without treating a transient package download error as a source change (mobile/…/install-sdk-packages.sh).
References: mobile/…/AndroidManifest.xml• L1-34 mobile/…/MainActivity.kt• L49-66 mobile/…/ModelDownloadJobs.kt• L24-79 mobile/…/PhoneWorkflowWorker.kt• L49-91 mobile/…/install-sdk-packages.sh• L1-19
iOS delivery
iOS delivers a native SwiftUI app for iOS 17 and later on iPhone and iPad. Its platform layer owns system permissions, private storage, background work, the share extension, and system presentation. The share extension stages text, audio, or movie input for review when VoiceStudio opens; it does not run inference itself (mobile/…/VoiceStudioApp.swift, mobile/…/ShareViewController.swift).
Model downloads use system background URLSession tasks with durable receipts. Host monitoring uses opportunistic background processing, while the operating system controls how long work can continue. The model store keeps downloads in app-private backup-excluded storage, requires current licence acceptance, checks file identity and checksums before loading, and respects the user's Wi-Fi or mobile-data choice (mobile/…/BackgroundModelDownloads.swift, mobile/…/ModelStore.swift, mobile/…/ModelStore.swift). The shared HTTP layer bounds streamed downloads and rejects redirects before a response can move credentials or media to another origin (mobile/…/HTTP.swift). The privacy manifest states that the app does not track users and records only the system API access needed by the product (mobile/ios/PrivacyInfo.xcprivacy).
References: mobile/…/VoiceStudioApp.swift• L5-29 mobile/…/ShareViewController.swift• L4-47 mobile/…/BackgroundModelDownloads.swift• L5-34 mobile/…/ModelStore.swift• L45-105 mobile/…/ModelStore.swift• L144-253 mobile/…/HTTP.swift• L41-119 mobile/…/PrivacyInfo.xcprivacy• L5-36
Native runtime delivery
Both platforms expose local speech work through one product-level engine boundary. The native runtime set covers speech and transcription, reference cloning, and translation. Platform builds use the same pinned runtime sources and verify their downloaded artifacts before the apps use them (mobile/…/pins.json, mobile/…/SPEC.md).
The iOS preparation flow verifies pinned source trees and release archives before building runtime frameworks. It records the toolchain, source pins, patches, privacy declarations, legal notices, and artifact hashes in a completion receipt. A changed input produces a new build identity, while a changed cached artifact fails verification instead of being reused (mobile/…/build.py, mobile/…/build.py, mobile/…/build.py).
Android runtime preparation treats truncated or corrupted transfers as transient fetch failures. It removes partial or mismatched files, retries a bounded number of times with backoff, and fails when the pinned digest still does not match. Retry logs expose only safe error-class data rather than exception text that could contain a local path (mobile/…/fetch.py).
Native delivery is part of the product contract. A client can promise a phone feature only when its runtime, model catalogue, licence state, storage, and device limits agree. Generated speech also keeps synthetic provenance so downstream systems can identify phone-created audio (mobile/…/LocalEngine.kt, mobile/…/README.md).
References: mobile/…/pins.json• L1-22 mobile/…/SPEC.md• L197-215 mobile/…/fetch.py• L26-58 mobile/…/build.py• L28-41 mobile/…/build.py• L89-123 mobile/…/build.py• L281-347 mobile/…/LocalEngine.kt• L18-29 mobile/…/README.md• L55-69
Download lifecycle
Model downloads are durable product work rather than screen work. The apps record the selected catalogue identity, network policy, pause state, and progress so a transfer can resume after a screen change or process restart. Completed bytes do not inflate the reported speed, and verification must finish before a model becomes ready (mobile/…/DownloadMeter.kt, mobile/…/DownloadMeter.swift).
The transfer path uses bounded parallel ranges when useful, retains resumable data after interruption, and falls back to a whole-file transfer when a source does not support ranges. It uses a separate public-download client, so paired-host credentials cannot reach model hosts. On iOS, background sessions also reject unapproved redirects and strip host credentials from redirected requests (mobile/…/ModelDownloads.kt, mobile/…/BackgroundModelDownloads.swift, mobile/…/ModelStore.swift).
References: mobile/…/DownloadMeter.kt• L3-21 mobile/…/DownloadMeter.swift• L17-49 mobile/…/ModelDownloads.kt• L24-36 mobile/…/BackgroundModelDownloads.swift• L43-74 mobile/…/ModelStore.swift• L13-42
Delivery verification
The mobile workflow checks the shared contract and then checks each native product. Contract checks cover generated API, model, design, theme, language, gallery, and support inputs. Native checks cover compilation, platform UI, runtime loading, model transfer, and unsigned delivery artifacts (mobile/…/README.md, mobile/…/README.md).
These checks prove that the two products agree on their public promises. They do not replace physical-device checks for memory, thermal limits, microphone behavior, accessibility, background execution, or store delivery approval. See quality and contract testing for the wider test view and deployment and operations for release concerns.
References: mobile/…/README.md• L408-453 mobile/…/README.md• L99-126 mobile/…/SPEC.md• L185-195
Change checklist
When these files or sections are changed, remember to consider these:
- Propagate new OpenAPI response fields to generated client types and the native states or screens that consume them. In particular, keep engine self-test status, runtime device, and runtime log together.
- Update the shared contract and both native clients when a host route, response, authentication rule, dictation rule, or execution location changes.
- Keep speech generation options such as paragraph gaps and engine-silence trimming aligned between the OpenAPI contract, host behavior, and any native request mapping.
- Keep the diagnostic consent and event schemas aligned with the native reporters' allowlists, consent epochs, recovery records, and delivery destinations.
- Regenerate tokens, design choices, model metadata, language resources, and legal resources when their source changes. Check both native bundles for stale output.
- Keep locale fallback and CLDR plural-category rules aligned between Android and iOS when shared catalog keys or localization readers change.
- Keep model revisions, checksums, memory advice, licence categories, and terms fingerprints aligned with download and acceptance behavior.
- Recheck private-address, HTTPS, same-origin, redirect, session, PIN, and WebSocket-ticket rules when host connection code changes.
- Preserve host identity and durable checkpoints when job resume, cancellation, background execution, notifications, or host switching changes.
- Keep diagnostic outbox bounds, retry policy, revocation markers, kill switches, and crash-recovery markers aligned on Android and iOS.
- Keep the bundled gallery seed, public manifest limits, recording checksums, attribution, and recipe handoff aligned on Android and iOS.
- Keep support catalogue keys, artwork names, external-link behavior, and offline claims aligned with the localized copy.
- Keep root version handling, app identifiers, extensions, privacy declarations, runtime pins, legal notices, and release signing aligned with each platform's delivery rules.
- Keep iOS share-extension content types aligned with the content that the app can review.
- Keep native SDK package pins aligned with the runtime build inputs, fetch retry and verification behavior, and retry setup when Android native dependencies change.
- Keep production script parsing, output versioning, chapter cues, and the host audiobook contract aligned when mobile production syntax changes.
- Keep iOS background task identities, model authorization keys, receipts, and model-store deletion rules aligned when download ownership changes.
- Keep the host speech-streaming contract aligned when PCM duration handling changes, including clients that consume sentence-by-sentence output.
- Keep iOS streamed-download size limits and redirect handling aligned with model and host media transfer policies.
- Keep generated diagnostics-intake settings, their allowed destinations, and the bundle invalidation digest aligned when Android build configuration changes.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| Generated API, model, design, language, gallery, or support data is stale | A client promises behavior or copy that the host or bundled resources do not support | Contract and resource checks compare generated inputs with their sources |
| A new API response field is not carried into a native client | The client loses useful runtime context or cannot show the result of a host self-test clearly | Generated contract checks and client response mappings keep the shared response shape aligned |
| A speech generation option is missing from a client request | Paragraph timing or engine-silence behavior differs from the host-side product contract | OpenAPI schema checks and request mappings keep optional generation controls explicit |
| Android and iOS choose different plural categories for the same count | A localized message uses the wrong form or falls back even though the shared catalog has the needed form | Shared catalog tests cover CLDR categories and fallback from the exact category to _other and the plain key |
| Diagnostic consent, policy, or event fields drift between the contract and a native reporter | Reports can be dropped, misclassified, or sent after the user expects withdrawal to take effect | Default-off consent, allowlisted projection, epoch checks, and bounded revocation retries keep authority aligned |
| A diagnostics-intake setting changes without resource invalidation | A build can ship with a stale destination or stale app configuration | Validated build inputs are represented by a digest and regenerate the packaged configuration |
| A diagnostic outbox or recovery marker is unreadable | The client must stop collection or recovery until it can establish the current permission state | Durable bounded storage, explicit unknown-state handling, and delayed rereads prevent an unread file from granting authority |
| A model file, revision, checksum, or licence fingerprint changes without a catalogue update | The phone can load an unverified model or reuse an old acceptance | Catalogue validation, checksum checks, and fingerprint-based licence gates block the mismatch |
| A public host uses plain HTTP or redirects elsewhere | Credentials, media, or host requests can leave the trusted boundary | Private-address rules, HTTPS requirements, same-origin checks, and redirect rejection guard transport |
| A host or model response exceeds its allowed streamed size | The client can consume unbounded storage or retain a partial file as a valid download | Bounded response reads remove the temporary file when the limit is exceeded |
| A PIN is used for remote dictation | The client can expose a stream without the required stronger authorization | Dictation requires a session ticket or an allowed trusted-host condition |
| A durable job resumes under a different host | The phone can show or change work owned by another computer | Host identity scopes checkpoints and invalidates old-host state |
| A model transfer is interrupted or its range response is invalid | The model can remain partial, waste bandwidth, or appear ready too early | Durable ranges, bounded fallback transfers, size checks, and SHA-256 verification protect readiness |
| A required native runtime or device resource is not available | Phone work fails after the user starts it or can exhaust device resources | Pinned runtime delivery, model fit advice, leases, and explicit phone/computer routing limit the risk |
| A pinned Android runtime transfer is truncated or corrupted | Native preparation can fail on a temporary network problem or accept an incomplete cache entry | Partial files are removed, bounded retries handle transfer errors, and the final digest must match |
| A gallery manifest or recording fails validation | Untrusted catalogue data or an altered recording can enter the phone library | Size limits, schema checks, host allowlists, checksums, and explicit import consent reject it |
| A permission, locale, support key, or platform string is missing | The native prompt or recovery action becomes unclear or falls back to a key | Build-time catalogue merging and localization fallback checks cover shared and platform text |
| iOS share-extension activation omits a supported content type | Users cannot send that content into VoiceStudio from the system share sheet | Extension activation rules and staged review input define the supported types |
| iOS cached runtime artifacts or privacy or legal inputs change without a new receipt | The app can ship a runtime that does not match its source, toolchain, or declarations | Pin-keyed output, archive and tree checks, per-artifact hashes, privacy copies, and notice checks fail closed |
| Android SDK package download leaves corrupt partial state | Native runtime preparation fails even when the package source is valid | The installer retries and clears SDK-manager temporary download state |
| A production script changes without a render-key or parser update | Old audio can be reused for new semantics, or desktop tags can be spoken on the phone | Parser rules and narration version keys bind output to the script meaning |
| iOS background download ownership or receipts become stale | The app can resume an unauthorized model transfer or discard a valid completed range | Model-scoped task keys, authorized-task reconciliation, atomic receipts, and checksum verification bound recovery |
| PCM streaming duration rules change without a client contract update | A client can expect one continuous stream while the host returns sentence-sized output | The OpenAPI stream description and client streaming behavior stay synchronized |
Key files
| File | Why to read it |
|---|---|
| mobile/…/SPEC.md | Shared product, privacy, model, platform, gallery, and delivery contract |
| mobile/…/openapi.json | Host API schemas, speech controls, diagnostics, recovery endpoints, and long-running production endpoints used by the clients |
| mobile/…/models.source.json | Source choices for phone capabilities and model limits |
| mobile/…/models.json | Generated model, checksum, memory, and licence catalogue |
| mobile/…/strings.mobile.en.json | Shared mobile copy, localization namespace, download states, and support text |
| mobile/…/community-gallery.json | Bundled public gallery seed and attribution data |
| mobile/…/support.json | Offline donation and project-link catalogue |
| mobile/…/README.md | Android product scope, local models, host work, and verification limits |
| mobile/…/build.gradle.kts | Android resource bundling, generated diagnostics intake, versioning, runtime, and report endpoint boundary |
| mobile/…/install-sdk-packages.sh | Pinned native SDK setup and retry behavior |
| mobile/…/MainActivity.kt | Android entry point, workspace routing, integrations, and first-run consent |
| mobile/…/AutomaticDiagnostics.kt | Android diagnostic consent, failure projection, and process-exit recovery |
| mobile/…/DiagnosticReports.kt | Android diagnostic policy, durable queue, transport, and delivery boundary |
| mobile/…/Production.kt | Local script planning, durable production output, and chapter timing |
| mobile/…/ModelDownloads.kt | Android model transfer, verification, resume, and storage boundary |
| mobile/…/README.md | iOS product scope, local models, host work, and delivery limits |
| mobile/…/VoiceStudioApp.swift | iOS lifecycle, background monitoring, and model restoration entry points |
| mobile/…/BackgroundModelDownloads.swift | iOS background model transfer, origin checks, and durable receipt boundary |
| mobile/…/DiagnosticReports.swift | iOS diagnostic consent, durable delivery, and recovery boundary |
| mobile/…/L10n.swift | iOS locale fallback, interpolation, and Android-aligned plural selection |
| mobile/…/PluralCategoryTests.swift | Cross-platform plural category and localization fallback guarantees |
| mobile/…/HTTP.swift | iOS host-origin protection and bounded download transport |
| mobile/…/ModelStore.swift | iOS model authorization, storage, verification, and network policy |
| mobile/…/ShareViewController.swift | iOS system-share intake and review handoff |
| mobile/…/pins.json | Native runtime sources and integrity pins shared by both platforms |
| mobile/…/fetch.py | Android pinned runtime downloads, retry policy, safe extraction inputs, and digest verification |
| mobile/…/build.py | iOS runtime preparation, source checks, receipts, privacy declarations, and notices |