hex/ios/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 2adaf75e52
iOS: no line without a reason from the keyboard's speech model state (#2863)
What: TestFlight build 153 on an iPhone 14 (6 GB) showed "The keyboard couldn't use it when
it last opened…", the line for a .unavailable without a reason. Only keyboards before
#2858 wrote that, and nothing cleared it: an open on 153 that decides not to load returned
before writing (a limit under 131 MB picks no model at all; a memory warning, in the view
controller or within reloadAfterWarning, returned silently), so the old state stayed for good.
Now:
- Hex forgets a .unavailable without a reason at launch
  (KeyboardParakeetSettings.forgetUnavailableWithoutReason), and the page reads one as
  "Downloaded. The keyboard gets it ready the next time it opens."; that line's own string
  is removed (with its zh-Hans) and the fixture scene for it;
- the keyboard writes the reason before the state, so a new keyboard's .unavailable is never
  seen without one, and clears it after any other state;
- after a memory warning the keyboard writes shortOfMemory instead of nothing
  (warmUp(memoryWarned:); the view controller no longer skips warmUp, which still loads
  nothing then);
- a model still loaded says ready again if Hex had cleared the state;
- every state the keyboard writes carries which model it is about (.preparing and
  .unavailable used to say English for the multilingual model too);
- a keyboard limit under 131 MB shows its own line even with the model downloaded (a
  download turned on by hand skips the hold), instead of whatever the keyboard last said.
Why: the first reason-carrying build showed a tester a line with no reason.
Verified: DictationSSOTTests (forgetting only reasonless states, the line for no reason, a
limit under 131 MB with the model downloaded); suite in a simbox, separately.
2026-11-25 15:16: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: no line without a reason from the keyboard's speech model state (#2863) 2026-11-25 15:16: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