hex/ios/docs
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
..
acknowledgements.md iOS Settings: Dictation › Model picks English or Multilingual for the keyboard (#2709) 2026-11-24 17:28:50 -05:00
build-and-test.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
dictation.md iOS: say why the keyboard couldn't use its speech model, and offer Try again 2026-11-25 11:50:33 -05:00
keyboard.md iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
onboarding-and-setup.md iOS keyboard: nothing opens Hex unless the person taps Open Hex (#2707) 2026-11-24 17:27:40 -05:00
releasing.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
settings-and-home.md iOS: both speech models download on Wi-Fi, with Use mobile data (#2846) 2026-11-25 09:10:45 -05:00
typing-logs.md iOS keyboard: Open Hex as the last row of the Hex key menu (#2791) 2026-11-24 20:22:47 -05:00
verification.md iOS keyboard: Slovenčina, on Czech's keys with Apple's Slovak long presses (#2462) 2026-11-24 18:21:24 -05:00