hex/ios/HEXMobileTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel f00f1d5817 iOS keyboard: the full keyboard by default, typing without Full Access
App Review 4.4.1 needs a keyboard extension to type, and to keep working
without Full Access and without network. Hex's default was the dictation
bar (space, delete, return, Dictate; no letter keys), and without Full
Access it showed only setup steps.

What changed
- FullKeyboardSettings.isEnabled (App Group key experiments.fullKeyboard,
  what Settings › Keyboard's Full / Dictation bar row binds) now reads
  unset as true: new installs and testers who never touched the old
  experiment get the full keyboard; an explicit false (turned off, or
  Dictation bar picked) keeps the dictation bar. --keyboard
  full|dictation-bar picks it in simulator scenes.
- Without Full Access the keyboard always mounts the full keyboard,
  whatever is chosen (the bar types only spaces and line breaks).
- Removed: the full keyboard's permanent "Allow Full Access to dictate
  with Hex" strip notice; the strip suggests and corrects as usual.
- Without Full Access the Hex key (tap, hold, VoiceOver, or sliding for
  its menu) no longer tries to dictate or open Hex: the strip shows
  "Allow Full Access to dictate" and "Settings › Apps › Hex › Keyboards"
  for 8 s (until a key is typed), with an Open Hex chip, the only thing
  that opens Hex (hex-dictation://keyboard/setup) without Full Access.
- In-keyboard dictation (onLocalDictateTap) is offered only with Full
  Access; before, it was set without it too, so the Hex key would have
  started a capture that can't work there.
- Scene full-keyboard-no-access-hint; README: the default, behaviour
  without Full Access, memory numbers and proof limits.

Verified (anomastudio, iPhone 13 simulator, iOS 27.2, Release, keyboard
in a real hosted field, a temporary uncommitted probe):
- Fresh install, Full Access off: full keyboard, no in-keyboard
  dictation; taps through the engine typed "thw " -> "the ", "tk " ->
  "to "; with Spatial autocorrect on (decoder active) also "ofthw " ->
  "of the ". The hint renders light and dark.
- Full Access on: full keyboard by default; --keyboard dictation-bar
  mounts the bar.
- Memory, 3 runs each, MB, before (78e4458d) -> after:
  full keyboard idle 18.4-18.5 -> 18.5-18.6 (18.0-18.3 without Full
  Access), first dictation max within 3 s 30.8-31.3 -> 31.2-31.8, peak
  32.1-32.5 -> 32.3-33.0; bar idle 20.7 -> 20.8, first dictation
  27.5-27.8 -> 27.3-27.9. Unchanged within noise, so #2045's 32/24 MB
  guard still covers it.
- xcodebuild test: 267 tests, 0 failures, 1 skipped (as before).
Not verified on a physical iPhone.
2026-11-20 11:37:36 -05:00
..
Fixtures iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
AutocorrectEngineTests.swift iOS: spatial autocorrect experiment with Google Books models, plus accent and two-letter fixes (#2059) 2026-11-20 16:18:07 +00:00
CleanupTaggerTests.swift iOS: Spanish clean-up, paste translated or as spoken, screen stays on while recording (#2046) 2026-11-20 14:39:28 +00:00
CustomVocabularyTests.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationControllerTests.swift iOS: speech model fallbacks for iPhone 11 and unavailable languages; no raw errors in the keyboard (#2048) 2026-11-20 15:04:43 +00:00
DictationLearningTests.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DotScopeTests.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmojiSuggesterTests.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardEngineTests.swift iOS: remove the return-to-app feature; swipe back after a handoff (#2042) 2026-11-20 13:58:31 +00:00
HexKeyGestureTests.swift iOS: Spanish clean-up, paste translated or as spoken, screen stays on while recording (#2046) 2026-11-20 14:39:28 +00:00
KeyboardBridgeTests.swift iOS: remove the return-to-app feature; swipe back after a handoff (#2042) 2026-11-20 13:58:31 +00:00
KeyboardLayoutTests.swift iOS keyboard: the full keyboard by default, typing without Full Access 2026-11-20 11:37:36 -05:00
ShiftStateMachineTests.swift iOS: full keyboard experiment flag, key layout and shift model (#910) 2026-11-01 12:43:35 -08:00
TranscriptCleanupTests.swift iOS: Spanish clean-up, paste translated or as spoken, screen stays on while recording (#2046) 2026-11-20 14:39:28 +00:00
TypingLogTests.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00