hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 94838248f6 iOS: say why the keyboard couldn't use its speech model, and offer Try again
What: Settings › Dictation's speech model line said "The keyboard can't use it right now,
so it uses Apple's speech recognition." for six causes. The keyboard now records why with
.unavailable (KeyboardParakeetSettings.UnavailableReason: shortOfMemory, noNeuralEngine,
notOnNeuralEngine, loadFailed), and the line says it and what happens next:
- short of memory at the keyboard's last open: it tries again the next time it opens;
- a keyboard limit under 131 MB (hold .keyboardTooSmall, for good): this iPhone's keyboard
  doesn't have the memory for it;
- no Neural Engine: this iPhone can't run it in the keyboard;
- a load that threw or wasn't on the Neural Engine: the keyboard couldn't load it, with
  Try again (purgesCompiled, and the keyboard now clears its per-process set-aside when it
  sees that flag, so it really loads again);
- an older keyboard's reasonless .unavailable: couldn't use it when it last opened, tries
  again next time.
Getting ready now adds that it takes longer after a download or an update. The keyboard no
longer writes .unavailable for a load still going after loadPatience (180 s); it only logs
it. Removed: the "can't use it right now" string, which also stayed up after the cause had
passed, since nothing but the keyboard's next load, the switch or a model removal clears it.
Fixture scenes settings-dictation-model-english-<preparing|short|noengine|failed|unknown|toosmall>
for screenshots. zh-Hans for every new line.

Why: a post on X (2026-11-25) showed the sentence with no way to tell why.

Verified: DictationSSOTTests (each reason's line, the reason round trip, Try again, no line
says right now); suite and screenshots in a simbox, separately.
2026-11-25 11:50:33 -05:00
..
Assets.xcassets iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
Feedback iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
HexWords iOS: Hex words files and Word replacements (behind Custom vocabulary) (#2782) 2026-11-24 18:58:06 -05:00
Settings iOS: both speech models download on Wi-Fi, with Use mobile data (#2846) 2026-11-25 09:10:45 -05:00
zh-Hans.lproj iOS: Hex words files and Word replacements (behind Custom vocabulary) (#2782) 2026-11-24 18:58:06 -05:00
AcknowledgementsView.swift iOS Settings: Dictation › Model picks English or Multilingual for the keyboard (#2709) 2026-11-24 17:28:50 -05:00
AppleSpeechTranscriber.swift iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
AppShortcuts.xcstrings iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AudioBackend.swift iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
ContentView.swift iOS: both speech models download on Wi-Fi, with Use mobile data (#2846) 2026-11-25 09:10:45 -05:00
CustomVocabularyEditor.swift iOS: Hex words files and Word replacements (behind Custom vocabulary) (#2782) 2026-11-24 18:58:06 -05:00
DictationController+Engine.swift iOS: both speech models download on Wi-Fi, with Use mobile data (#2846) 2026-11-25 09:10:45 -05:00
DictationController+LaunchFixtures.swift iOS: say why the keyboard couldn't use its speech model, and offer Try again 2026-11-25 11:50:33 -05:00
DictationController+ModelPreparation.swift iOS Settings: Dictation › Model picks English or Multilingual for the keyboard (#2709) 2026-11-24 17:28:50 -05:00
DictationController+State.swift refactor(ios): simplify dictation capture phase, controller shims, and Parakeet wrappers\n\n- Slim KeyboardLocalCapturePhase to a read-only snapshot projection and remove its unused mutating state-machine helpers, StartupStage, ArmedFailure, ArmedReadiness, and KeepArmedOutcome\n- Remove duplicate DictationController.markModelReadyPreservingCapture(), unused keyboardSessionExpiresAt, and the redundant KeyboardJob enum wrapper in favor of String?\n- Point FullKeyboardView.offerModelNotice directly at KeyboardParakeetPlan.current().awaitsV2Download and delete legacy boolean-flattening shims (KeyboardParakeetNotice.modelAwaitsDownload, dictatesEnglish, and KeyboardParakeetDownload.hold(otherEngine:...))\n- Update DictationStateMachineTests, KeyboardBridgeTests, and DictationControllerTests to cover real snapshot projections, controller transitions, and KeyboardParakeetPlan (#2626) 2026-11-23 19:19:00 -08:00
DictationController+WarmDefault.swift iOS: Keep mic warm defaults to Off and hides where the keyboard dictates by itself (#2393) 2026-11-22 11:58:48 -05:00
DictationController.swift iOS: both speech models download on Wi-Fi, with Use mobile data (#2846) 2026-11-25 09:10:45 -05:00
EmojiSemanticIndex.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
Feedback.xcconfig iOS: Send feedback form (Bellhop), email decides anonymous (#2575) 2026-11-23 16:00:03 -05:00
FullKeyboardSnapshotStage.swift iOS keyboard: Slovenčina, on Czech's keys with Apple's Slovak long presses (#2462) 2026-11-24 18:21:24 -05:00
HexIntents.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
HexLinks.swift iOS: privacy and support links in the app, Continue before the mic prompt, typing logs consent (#2063) 2026-11-20 16:23:37 +00:00
HEXMobile.entitlements Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -05:00
HEXMobileApp.swift iOS keyboard: Open Hex as the last row of the Hex key menu (#2791) 2026-11-24 20:22:47 -05:00
Info.plist iOS: Hex words files and Word replacements (behind Custom vocabulary) (#2782) 2026-11-24 18:58:06 -05:00
KeyboardParakeetDownload.swift iOS: say why the keyboard couldn't use its speech model, and offer Try again 2026-11-25 11:50:33 -05:00
KeyboardPreviewHost.swift iOS keyboard: remove the "Logging" mark; Record typing logs is only the switch (#2382) 2026-11-22 10:50:35 -05:00
KeyboardSetup.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
KeyboardSpeechPreparation.swift iOS keyboard: nothing opens Hex unless the person taps Open Hex (#2707) 2026-11-24 17:27:40 -05:00
LanguageSettingsRows.swift iOS Settings: "Remove from keyboard" is "Remove a quick-switch language" (#2844) 2026-11-25 09:10:32 -05:00
LiveActivityCoordinator.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
Localizable.xcstrings iOS: say why the keyboard couldn't use its speech model, and offer Try again 2026-11-25 11:50:33 -05:00
Onboarding.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
OnboardingPieces.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
OnboardingProgress.swift iOS: onboarding always shows the Hex key, and practice needs Hex's dictation (#2211) 2026-11-21 12:20:32 -05:00
OnDeviceSpeechTranscriber.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
ParakeetTranscriber.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
ParakeetUltraDownload.swift iOS: both speech models download on Wi-Fi, with Use mobile data (#2846) 2026-11-25 09:10:45 -05:00
ParakeetUltraModel.swift iOS Settings: Dictation › Model picks English or Multilingual for the keyboard (#2709) 2026-11-24 17:28:50 -05:00
ParakeetUltraTranscriber.swift iOS Settings: Dictation › Model picks English or Multilingual for the keyboard (#2709) 2026-11-24 17:28:50 -05:00
PrivacyInfo.xcprivacy iOS: the app's privacy manifest declares what Send feedback sends (#2779) 2026-11-24 18:33:22 -05:00
SettingsComponents.swift iOS: both speech models download on Wi-Fi, with Use mobile data (#2846) 2026-11-25 09:10:45 -05:00
SpeechEngineChoice.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
SpeechModelMove.swift iOS: Speech model in keyboard on by default for English, downloaded only where the keyboard can use it (#2390) 2026-11-22 12:18:29 -05:00
TranscriptCleanup.swift fix(labs): Apple Intelligence cleanup never pastes an answer or a preamble (#2212) 2026-11-21 13:43:24 -05:00
TranslateDictationRow.swift iOS: Translate what I say asks for the language packs the keyboard needs (#2717) 2026-11-24 17:28:14 -05:00
TranslationSessionHost.swift iOS: Apple's on-device recognizer for older iPhones and languages Parakeet can't do, and iOS 18 translation (#2190) 2026-11-21 08:49:11 -05:00
TypingInsightsView.swift Learn how I type: a word erased and retyped teaches only when it was a slip of the new one (#2438) 2026-11-22 18:54:23 -05:00
TypingLogsView.swift iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00