hex/ios/HEXMobileTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 302a6517f2 iOS: Code from Messages shows only when Apple's keyboard is on
TestFlight build 56 (iPhone 18 Pro, iOS 27.3): in a one-time-code field the
strip's "Code from Messages" chip "doesn't actually paste anything".

Cause: the chip calls advanceToNextInputMode, because only Apple's keyboard
gets codes from Messages and Mail. With Hex and Emoji as the only keyboards
(or Hex alone, or another third-party keyboard) the next keyboard is Emoji
or nothing, so the tap shows the emoji panel and no code. iOS draws nothing
OTP-related above or inside a third-party keyboard and delivers no code to
it (no textDidChange, proxy insert or lexicon entry).

Fix: the strip offers the chip only when UITextInputMode.activeInputModes
has one of Apple's keyboards (not Emoji, dictation or a
UIKeyboardExtensionInputMode). Otherwise a one-time-code field gets the
plain Paste chip for a fresh copy, or nothing. The chip itself is unchanged.

Verified on an iPhone 17 Pro simulator (iOS 27.2, Safari field with
autocomplete=one-time-code): before, Hex+Emoji showed the chip and the tap
opened Emoji; after, no chip. English+Hex+Emoji (either order) shows the
chip and the tap lands on Apple's keyboard, skipping Emoji. New cases in
KeyboardClipboardTests; HEXMobileTests 527 passed, 1 skipped.
2026-11-21 08:38:35 -05:00
..
Fixtures iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
AutocorrectEngineTests.swift iOS: French spacing in dictation, and a second language no longer hurts English autocorrect (#2186) 2026-11-21 08:37:33 -05:00
CleanupTaggerTests.swift iOS: Clean up what I say keeps names, and is on by default (#2132) 2026-11-21 03:12:53 +00:00
CustomVocabularyTests.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationControllerTests.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05: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: the full keyboard matches the system keyboard one to one (#2178) 2026-11-21 07:20:46 -05:00
FullKeyboardEngineTests.swift iOS: Code from Messages shows only when Apple's keyboard is on 2026-11-21 08:38:35 -05:00
HexKeyGestureTests.swift iOS: translation says when it pastes as spoken, retries, and never turns itself off (#2176) 2026-11-21 06:33:37 -05:00
KeyboardBridgeTests.swift iOS keyboard: nothing heavy before the keys' first frame (#2185) 2026-11-21 08:28:59 -05:00
KeyboardLayoutTests.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
ShiftStateMachineTests.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
SwipeDecoderTests.swift iOS: swipe typing for English and Spanish (Experiment, off by default) (#2106) 2026-11-20 22:30:53 +00:00
TranscriptCleanupTests.swift iOS: French spacing in dictation, and a second language no longer hurts English autocorrect (#2186) 2026-11-21 08:37:33 -05:00
TypingLogTests.swift iOS: opaque keyboard panel so stale system layers can't show through, and a nil-safe field ID (#2139) 2026-11-21 03:45:47 +00:00