hex/ios/HEXMobileTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 42e6e8e12d
iOS: remove the return-to-app feature; swipe back after a handoff (#2042)
Ryan decided Hex Mobile won't open other apps' URL schemes after the
keyboard hands off to the Hex app: no return-to-app tricks, since they
are an App Review risk and only worked for apps with a known scheme.

Removed:
- HostApp / HostAppCatalog (the curated scheme list) and the bridge's
  returnAppID / quickReturnApps settings. The stored App Group keys
  (settings.returnAppID, settings.quickReturnAppIDs) are just ignored;
  no migration.
- KeyboardLaunchRequest's returnAppID and the URL's return= item. An
  older keyboard that still sends return= parses fine and it is ignored.
- DictationController's auto-return: AutoReturnState, the URL opener,
  setReturnAppID, setQuickReturnApps, returnToHostApp,
  maybeAutoReturnAfterActivation, triggerAutoReturn, the ~1 s fallback
  task, noteSceneDidEnterBackground, and the attemptAutoReturn flags.
- The app's Settings "Return to" row, its "Edit apps…" sheet
  (ReturnAppsSheet.swift), and the handoff screen's quick-jump app chips.
- The dictation bar's return chip and its app tray, and the full
  keyboard Hex key menu's "Return to" row and page (with its
  return_app typing-log event).
- The handoff-returning snapshot scene.

Replaced by: the handoff screen's existing quiet "Swipe bar to return"
cue over the home indicator, now shown whenever it records or a warm
session is on (it used to hide while an auto-return was attempted).
The rest of the handoff and warm-session flow is unchanged.

Docs: ios/README.md (cold start, Hex key menu, proof limits) and
ios/docs/typing-logs.md.

Verified: xcodebuild test on an iPhone 18 Pro simulator (iOS 27.2):
220 tests, 1 skipped, 0 failures. The handoff test now checks the 10 s
window alone, and the launch URL test checks that a legacy return= is
ignored. Rendered --snap-state setup, warm, handoff-listening,
handoff-no-home-bar, keyboard-cold and full-keyboard-style and checked
them: no Return to row, chips or return trigger; the swipe cue shows on
the handoff screen.
2026-11-20 13:58:31 +00:00
..
Fixtures iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
AutocorrectEngineTests.swift iOS: no hyphens from autocorrect, completions ranked by frequency (#2041) 2026-11-20 13:49:49 +00:00
CleanupTaggerTests.swift iOS: dictate in every language Apple Speech has on device 2026-11-20 07:52:32 -05:00
CustomVocabularyTests.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationControllerTests.swift iOS: remove the return-to-app feature; swipe back after a handoff (#2042) 2026-11-20 13:58:31 +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
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: 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
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: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -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: optional Apple Intelligence transcript cleanup (experiment) (#1538) 2026-11-08 08:07:11 -05:00
TypingLogTests.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00